mirror of
https://github.com/curl/curl.git
synced 2026-08-24 18:43:32 +03:00
Guillaume Cottenceau's patch that adds CURLOPT_UNRESTRICTED_AUTH that
disables the host name check in the FOLLOWLOCATION code. With that option set, libcurl will send user+password to all hosts.
This commit is contained in:
parent
e6eb49e7e0
commit
25f611ca42
5 changed files with 22 additions and 2 deletions
|
|
@ -619,6 +619,11 @@ typedef enum {
|
|||
/* Set aliases for HTTP 200 in the HTTP Response header */
|
||||
CINIT(HTTP200ALIASES, OBJECTPOINT, 104),
|
||||
|
||||
/* Continue to send authentication (user+password) when following locations,
|
||||
even when hostname changed. This can potentionally send off the name
|
||||
and password to whatever host the server decides. */
|
||||
CINIT(UNRESTRICTED_AUTH, LONG, 105),
|
||||
|
||||
CURLOPT_LASTENTRY /* the last unused */
|
||||
} CURLoption;
|
||||
|
||||
|
|
@ -809,7 +814,7 @@ CURLcode curl_global_init(long flags);
|
|||
void curl_global_cleanup(void);
|
||||
|
||||
/* This is the version number */
|
||||
#define LIBCURL_VERSION "7.10.4-pre2"
|
||||
#define LIBCURL_VERSION "7.10.4-pre5"
|
||||
#define LIBCURL_VERSION_NUM 0x070a04
|
||||
|
||||
/* linked-list structure for the CURLOPT_QUOTE option (and other) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue