[wp-trac] [WordPress Trac] #26947: IXR_Client strips query string from server URL

WordPress Trac noreply at wordpress.org
Mon Jan 27 04:34:57 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:
--------------------------+--------------------

Comment (by cfinke):

 > So your endpoint actually requires a query string?

 Yes.

 > I wonder if there's a decent way to unit test this.

 If you're confident in the current tests for the library, checking that
 the state of an object instantiated with the full URL + path + query
 string as the first argument matches the state of an object where the path
 + query string was passed as the second argument should do.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26947#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list