[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 02:12:22 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:
-------------------------------+------------------------------
Changes (by dd32):
* keywords: => reporter-feedback
Comment:
According to http://php.net/manual/en/function.curl-setopt.php the
`CURLOPT_PROXYAUTH ` field accetps the same options as `CURLOPT_HTTPAUTH`,
however, only supports the subset of `CURLAUTH_BASIC` and `CURLAUTH_NTLM
`.
{{{
CURLAUTH_ANY is an alias for CURLAUTH_BASIC | CURLAUTH_DIGEST |
CURLAUTH_GSSNEGOTIATE | CURLAUTH_NTLM.
}}}
As a result, passing `CURLAUTH_ANY` should work fine, it's the same as
effectively passing `CURLAUTH_BASIC | CURLAUTH_NTLM`.
Can you explain a little more about the environment it's failing in, and
if altering WordPress to pass `CURLAUTH_BASIC` or `CURLAUTH_NTLM ` fixes
it for you?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31232#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list