WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 3 months ago

#47549 new defect (bug)

Http proxy not passing Auth request Basic header

Reported by: smarx80 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: HTTP API Keywords:
Focuses: Cc:
PR Number:

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
4 months ago

  • Component changed from General to HTTP API

#2 @smarx80
3 months ago

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

Simone.

Note: See TracTickets for help on using tickets.