Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#47549 new defect (bug)

Http proxy not passing Auth request Basic header

Reported by: smarx80's profile smarx80 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: HTTP API Keywords:
Focuses: Cc:

Description

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.

Change History (2)

#1 @SergeyBiryukov
5 years ago

  • Component changed from General to HTTP API

#2 @smarx80
5 years ago

Hi,
are there updates to this bug?
How does core bug handling work?

Simone.

Note: See TracTickets for help on using tickets.