OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f4cc43
)
Fix http authentication.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Wed, 26 Feb 2014 08:51:06 +0000
(09:51 +0100)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 27 Feb 2014 15:56:30 +0000
(16:56 +0100)
Add parenthesis around "MD5" in the request string as required by
RFC 2069.
Fixes ticket #3417.
Reported and tested by Haarman
Analyzed-by: Eugen-Andrei Gavriloaie
libavformat/httpauth.c
patch
|
blob
|
history
diff --git
a/libavformat/httpauth.c
b/libavformat/httpauth.c
index
5ca48b9
..
3f90975
100644
(file)
--- a/
libavformat/httpauth.c
+++ b/
libavformat/httpauth.c
@@
-225,7
+225,7
@@
static char *make_digest_auth(HTTPAuthState *state, const char *username,
av_strlcatf(authstr, len, ",uri=\"%s\"", uri);
av_strlcatf(authstr, len, ",response=\"%s\"", response);
if (digest->algorithm[0])
- av_strlcatf(authstr, len, ",algorithm=
%s
", digest->algorithm);
+ av_strlcatf(authstr, len, ",algorithm=
\"%s\"
", digest->algorithm);
if (digest->opaque[0])
av_strlcatf(authstr, len, ",opaque=\"%s\"", digest->opaque);
if (digest->qop[0]) {