[wp-trac] [WordPress Trac] #31232: Invalid value for curl option CURLOPT_PROXYAUTH in wp-includes/class-http.php

WordPress Trac noreply at wordpress.org
Thu Feb 5 10:25:53 UTC 2015


#31232: Invalid value for curl option CURLOPT_PROXYAUTH in wp-includes/class-
http.php
-------------------------------+------------------------------
 Reporter:  beier.michael      |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  HTTP API           |     Version:  4.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by dd32):

 > Worst case, it should behave like a "normal browser client" and retry
 after receiving a "407 Proxy-Authorization required" message from proxy -
 but it does not.

 This is exactly what I'm seeing, One request is made, hits a 407, it then
 makes a 2nd request with the proper `Proxy-Authorization` header according
 to the `Proxy-Authenticate` header.
 If you force cURL to either use NTLM or Basic, then it appears that only
 one request is made with `Proxy-Authenticate` set to that, regardless of
 if the proxy is designed to handle it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31232#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list