[wp-trac] [WordPress Trac] #37733: `cURL error 3: malformed` for remote requests since 4.6

WordPress Trac noreply at wordpress.org
Mon Aug 22 18:30:39 UTC 2016


#37733: `cURL error 3: malformed` for remote requests since 4.6
--------------------------+--------------------
 Reporter:  flixos90      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.6.1
Component:  HTTP API      |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------
Changes (by jeremyfelt):

 * keywords:   => needs-patch


Comment:

 Replying to [comment:5 dd32]:
 > I'm considering that for 4.6.1 we might want to normalize the URLs to
 remove double slashes within WP_HTTP.

 I think this makes sense.

 We already parse the URL in `WP_Http::request()` and can act directly on
 the path there. Or - would it make sense to have a static `normalize_url`
 or similar method available for use elsewhere?

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


More information about the wp-trac mailing list