mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 21:42:09 +00:00
Merge remote-tracking branch 'cehoyos/master'
* cehoyos/master: Accept incomplete http cookies without domain. Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d5caf10c4f
@ -421,6 +421,8 @@ static int get_cookies(HTTPContext *s, char **cookies, const char *path,
|
||||
cvalue = av_strdup(param);
|
||||
}
|
||||
}
|
||||
if (!cdomain)
|
||||
cdomain = av_strdup(domain);
|
||||
|
||||
// ensure all of the necessary values are valid
|
||||
if (!cdomain || !cpath || !cvalue) {
|
||||
|
Loading…
Reference in New Issue
Block a user