[wp-trac] [WordPress Trac] #40566: Defect: add_query_arg() returns only URL fragments in certain circumstances

WordPress Trac noreply at wordpress.org
Tue Apr 25 22:11:34 UTC 2017


#40566: Defect: add_query_arg() returns only URL fragments in certain circumstances
---------------------------+------------------------------
 Reporter:  DavidAnderson  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by DavidAnderson):

 N.B. I believe, on reading the CGI spec, that lighttpd has a bug here.
 That's just the back-story - I think there's still an issue with
 add_query_arg() indicating that it returns an absolute location in the
 default case of no URL being supplied as input, rather than a relative
 one.

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


More information about the wp-trac mailing list