Opened 15 years ago
Closed 15 years ago
#12995 closed defect (bug) (fixed)
Proxy authentication header mistake
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | critical | Version: | |
Component: | HTTP API | Keywords: | HTTP proxy authentication |
Focuses: | Cc: |
Description
Hi there,
In WP release 2.9.2, I had issues on my factory intranet that is protected from the "wild" outside internet by a gateway (proxy).
I well defined the constants WP_PROXY... in my wp-config.php, but as soon as I need a request towards internet (worpress site most likely), I got errors on authentication, while I set up the correct proxy credentials.
I finally pointed out the problem crawling into the wp-includes/http.php package.
In the "authentication_header" function of the WP_Http class, the returned string starts with 'Proxy-Authentication:' instead of 'Proxy-Authorization:'.
I just had a look to the RFC-2616 that does not mention such a header.
I guess that it is not so current to get wordpress behind a proxy, and thus not so well tested.
Cheers
(In [14129]) Fix typo in Proxy Authorization header. Props thales.tede. Fixes #12995