[wp-trac] [WordPress Trac] #26947: IXR_Client strips query string from server URL
WordPress Trac
noreply at wordpress.org
Mon Jan 27 04:16:56 UTC 2014
#26947: IXR_Client strips query string from server URL
--------------------------+--------------------
Reporter: cfinke | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: XML-RPC | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Changes (by nacin):
* milestone: Awaiting Review => 3.9
Comment:
So your endpoint actually requires a query string? Interesting. I've used
this client for a few projects before and never came across that.
This looks good to me. Adding it to 'path' seems to be proper. The reason
why the host and path are split is so the host can be used in headers and
in opening a socket connection (for IXR_Client — WP_HTTP handles this
differently). POSTing to a path with a query string is perfectly valid.
I wonder if there's a decent way to unit test this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26947#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list