mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Nikitinskit Dmitriy filed bug report #1868255
(http://curl.haxx.se/bug/view.cgi?id=1868255) with a patch. It identifies and fixes a problem with parsing WWW-Authenticate: headers with additional spaces in the line that the parser wasn't written to deal with.
This commit is contained in:
parent
bce5ae9a07
commit
0ce484eed9
6
CHANGES
6
CHANGES
@ -6,6 +6,12 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
Daniel S (10 Jan 2008)
|
||||||
|
- Nikitinskit Dmitriy filed bug report #1868255
|
||||||
|
(http://curl.haxx.se/bug/view.cgi?id=1868255) with a patch. It identifies
|
||||||
|
and fixes a problem with parsing WWW-Authenticate: headers with additional
|
||||||
|
spaces in the line that the parser wasn't written to deal with.
|
||||||
|
|
||||||
Daniel S (8 Jan 2008)
|
Daniel S (8 Jan 2008)
|
||||||
- Introducing curl_easy_pause() and new magic return codes for both the read
|
- Introducing curl_easy_pause() and new magic return codes for both the read
|
||||||
and the write callbacks that now can make a connection's reading and/or
|
and the write callbacks that now can make a connection's reading and/or
|
||||||
|
@ -46,6 +46,7 @@ This release includes the following bugfixes:
|
|||||||
o --libcurl now generates a return statement as well
|
o --libcurl now generates a return statement as well
|
||||||
o socklen_t is no longer used in the public includes
|
o socklen_t is no longer used in the public includes
|
||||||
o time zone offsets from -1400 to +1400 are now accepted by the date parser
|
o time zone offsets from -1400 to +1400 are now accepted by the date parser
|
||||||
|
o allows more spaces in WWW/Proxy-Authenticate: headers
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
*
|
*
|
||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -180,6 +180,9 @@ CURLdigest Curl_input_digest(struct connectdata *conn,
|
|||||||
break; /* we're done here */
|
break; /* we're done here */
|
||||||
|
|
||||||
header += totlen;
|
header += totlen;
|
||||||
|
/* pass all additional spaces here */
|
||||||
|
while(*header && ISSPACE(*header))
|
||||||
|
header++;
|
||||||
if(',' == *header)
|
if(',' == *header)
|
||||||
/* allow the list to be comma-separated */
|
/* allow the list to be comma-separated */
|
||||||
header++;
|
header++;
|
||||||
|
Loading…
Reference in New Issue
Block a user