[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 08:05:58 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 beier.michael):

 My understanding of the documentation is, that setting CURLOPT_PROXYAUTH
 to CURLAUTH_ANY is not supported, but only CURLAUTH_BASIC and
 CURLAUTH_NTLM.

 We're running Wordpress with PHP 5.5.17 (fpm, using apache 2.4 with
 mod_proxy_fcgi) on SLES11.

 Using CURLAUTH_ANY the Proxy-Authorization Header was not sent in the
 request. After switching to CURLAUTH_BASIC it worked fine.

 So I'd suggest to change it to "CURLAUTH_BASIC | CURLAUTH_NTLM".

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


More information about the wp-trac mailing list