Opened 16 years ago
Closed 16 years ago
#12995 closed defect (bug) (fixed)
Proxy authentication header mistake
| Reported by: | thales.tede | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | HTTP API | Version: | |
| Severity: | critical | Keywords: | HTTP proxy authentication |
| Cc: | Focuses: |
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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [14129]) Fix typo in Proxy Authorization header. Props thales.tede. Fixes #12995