[wp-trac] [WordPress Trac] #47549: Http proxy not passing Auth request Basic header

WordPress Trac noreply at wordpress.org
Mon Jun 17 13:32:55 UTC 2019


#47549: Http proxy not passing Auth request Basic header
--------------------------+-----------------------------
 Reporter:  smarx80       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,
 I've configured WordPress to use an HTTP Proxy, using
 WP_PROXY_* consts in wp-config.php

 All outgoing communications are passed to the proxy, but we have an
 authentication problem.

 It seems that, using libCurl transport, in curl_before_send are set only

 CURLOPT_PROXYAUTH e CURLOPT_PROXYUSERPWD

 but not "Proxy-Authorization: Basic" header.

 Just for test, I've disabled curl transport ( in
 Request/Transport/cURL.php - function test() I've done a shortcircuit to
 false ), so using fsockopen
 I can authenticate regularly.

 Maybe there is an implementation bug?

 Have you a solution for this or some test to run to help you?

 Thank you,
 Simone.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47549>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list