Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
8f0bd1d9
Commit
8f0bd1d9
authored
Sep 03, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/httpauth: Do case-insensitive http header checks.
Tested by trac user NTAuthority. Fixes ticket #5786.
parent
91842005
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
httpauth.c
libavformat/httpauth.c
+2
-2
version.h
libavformat/version.h
+1
-1
No files found.
libavformat/httpauth.c
View file @
8f0bd1d9
...
...
@@ -90,7 +90,7 @@ static void choose_qop(char *qop, int size)
void
ff_http_auth_handle_header
(
HTTPAuthState
*
state
,
const
char
*
key
,
const
char
*
value
)
{
if
(
!
strcmp
(
key
,
"WWW-Authenticate"
)
||
!
str
cmp
(
key
,
"Proxy-Authenticate"
))
{
if
(
!
av_strcasecmp
(
key
,
"WWW-Authenticate"
)
||
!
av_strcase
cmp
(
key
,
"Proxy-Authenticate"
))
{
const
char
*
p
;
if
(
av_stristart
(
value
,
"Basic "
,
&
p
)
&&
state
->
auth_type
<=
HTTP_AUTH_BASIC
)
{
...
...
@@ -112,7 +112,7 @@ void ff_http_auth_handle_header(HTTPAuthState *state, const char *key,
if
(
!
av_strcasecmp
(
state
->
digest_params
.
stale
,
"true"
))
state
->
stale
=
1
;
}
}
else
if
(
!
str
cmp
(
key
,
"Authentication-Info"
))
{
}
else
if
(
!
av_strcase
cmp
(
key
,
"Authentication-Info"
))
{
ff_parse_key_value
(
value
,
(
ff_parse_key_val_cb
)
handle_digest_update
,
state
);
}
...
...
libavformat/version.h
View file @
8f0bd1d9
...
...
@@ -33,7 +33,7 @@
// Also please add any ticket numbers that you believe might be affected here
#define LIBAVFORMAT_VERSION_MAJOR 57
#define LIBAVFORMAT_VERSION_MINOR 48
#define LIBAVFORMAT_VERSION_MICRO 10
1
#define LIBAVFORMAT_VERSION_MICRO 10
2
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment