[wp-trac] [WordPress Trac] #20434: cURL fails to follow redirects sometimes

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 13 08:47:49 UTC 2012


#20434: cURL fails to follow redirects sometimes
--------------------------+------------------
 Reporter:  evansolomon   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  HTTP          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by dd32):

 * milestone:  Awaiting Review => 3.4


Comment:

 The problem is with relative locations in the Location header (which,
 IIRC, is not allowed in the spec, but used in the wild by many).

 {{{
 http://skype.com/
 => http://www.skype.com/
 => http://www.skype.com/intl/en/
 => /intl/en/home
 }}}
 That last one causes the failure.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20434#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list