[Live-devel] RTSP authentication with special characters
Deanna Earley
dee.earley at icode.co.uk
Thu Mar 5 02:29:30 PST 2015
Hello Ross.
The current liveMedia has a bug where it doesn't correctly handle "special" characters in the username and password strings when passed in the URL.
RFC 3986 (and predecessors) say that anything outside the "reserved" range can be percent encoded, but liveMedia isn't currently decoding these back to a normalised string.
Resending...
Sending request: DESCRIBE rtsp://root:ab%40cd@10.1.20.1/axis-media/media.amp?videocodec=h264&streamprofile=Quality RTSP/1.0
CSeq: 4
Authorization: Basic cm9vdDphYiU0MGNk
User-Agent: openRTSP (LIVE555 Streaming Media v2015.03.01)
Accept: application/sdp
The authorisation string decodes to root:ab%40cd where it should decode to root:ab at cd (cm9vdDphYkBjZA==)
What are your thoughts on this?
Is there a URL decoder function somewhere in the library that can be dropped in here?
Thanks
--
Deanna Earley | Lead developer | icatchercctv
w: www.icode.co.uk/icatcher | t: 01329 835335 | f: 01329 835338
Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325
More information about the live-devel
mailing list