[wp-trac] [WordPress Trac] #16890: Mutliple Location response headers can trigger notices

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 18 17:08:34 UTC 2011


#16890: Mutliple Location response headers can trigger notices
-----------------------+------------------------------
 Reporter:  hakre      |       Owner:
     Type:  defect     |      Status:  new
 Priority:  normal     |   Milestone:  Awaiting Review
Component:  General    |     Version:
 Severity:  normal     |  Resolution:
 Keywords:  has-patch  |
-----------------------+------------------------------
 The current implementation for manual cUrl redirects (safemode /
 openbasedir restrictions, see #11305) will do notices and fail if a
 response contains more than one location response header.

 Technically this is possible.

 In the RFC I have not found any definition so far wether or not this is
 violating any standard or not not. Next to that I could gather no
 information how a HTTP client should interprete such a response.

 For my fix I will prefer the first location header over any additional
 one.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16890>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list