[wp-trac] [WordPress Trac] #16932: Media Upload top navigation producing wrong URLs when WordPress is run behind a ReverseProxy

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 23 08:46:23 UTC 2011


#16932: Media Upload top navigation producing wrong URLs when WordPress is run
behind a ReverseProxy
----------------------------+----------------------
 Reporter:  tploch          |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |
----------------------------+----------------------

Comment (by hakre):

 Attached you find a patch for the add_query_arg() function. I've worked
 extensively with is over the last hours (#16943) and I think it's pretty
 safe to basname the request uri as the default request uri at least as
 much as esc_url() this will allow later on.

 I've played with the patch applied a bit it runs well from my end but keep
 in mind that you should test this thoroughly.

 On my server I've even changed the path of the request_uri extensively and
 that change makes more robust agains these mappiing problems.

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


More information about the wp-trac mailing list