Correct handling of HTTP_PROXY_AUTH. A password may have `:'.
Approved by: cperciva MFC after: 2 days
This commit is contained in:
parent
c0f0812202
commit
905b98c5f4
@ -152,7 +152,7 @@ readenv(void)
|
||||
|
||||
/* Obtain username and password */
|
||||
proxy_auth_user = strsep(&env_HTTP_PROXY_AUTH, ":");
|
||||
proxy_auth_pass = strsep(&env_HTTP_PROXY_AUTH, ":");
|
||||
proxy_auth_pass = env_HTTP_PROXY_AUTH;
|
||||
}
|
||||
|
||||
if ((proxy_auth_user != NULL) && (proxy_auth_pass != NULL)) {
|
||||
|
Loading…
Reference in New Issue
Block a user