MFC 1.9: Correct handling of HTTP_PROXY_AUTH. A password may have `:'.

Approved by:	 re (hrs)
This commit is contained in:
ume 2006-03-09 17:08:41 +00:00
parent 8ddb67d972
commit d1fb7619c6

View File

@ -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)) {