[FFmpeg-trac] #8560(avformat:new): Digest authentication failed when password contains '+' character
FFmpeg
trac at avcodec.org
Sun Mar 8 10:06:16 EET 2020
#8560: Digest authentication failed when password contains '+' character
-------------------------------------+-------------------------------------
Reporter: k2w2yut | Type: defect
Status: new | Priority: normal
Component: avformat | Version: 3.4.6
Keywords: rtsp, | Blocked By:
authentication, md5 |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
- Attempting to connect to RTSP with digest authentication by including
user:password
- After DESCRIBE failed with 401, received ''realm'' and ''nonce''
- Attempting to reconnect will failed
- Check the trace log found that the ''response'' MD5 was incorrect
generated, therefore, authentication failed
Workaround:
- Replace '+' with another url-safe sign works
- Avoid including plus character '+' in the password (haven't test with
other params, and not putting '+' at the end doesn't help)
How to reproduce:
{{{
% ffmpeg -loglevel trace -i
"rtsp://test1:Hilook265+@192.168.2.102/Streaming/Channels/101"
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8560>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list