[wp-trac] [WordPress Trac] #34053: HTTP API (Curl backend) inappropriately sends Content-Length header on POST requests made through a proxy server CONNECT
WordPress Trac
noreply at wordpress.org
Mon May 2 16:45:38 UTC 2016
#34053: HTTP API (Curl backend) inappropriately sends Content-Length header on POST
requests made through a proxy server CONNECT
--------------------------+------------------------------
Reporter: petertvs | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version: 4.3.1
Severity: normal | Resolution:
Keywords: | Focuses: administration
--------------------------+------------------------------
Comment (by Veraxus):
Just started running into this as well. The proxy servers outright reject
the request because the Content-Length header triggers a malformed
warning. Currently, we're using a tiny mu-plugin fix similar to @awbauer's
comment and are exploring the logistics of contributing a patch.
This really should be fixed since Content-Length is definitively non-
standard.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34053#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list