#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:[email protected]/Streaming/Channels/101"
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8560>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".