[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 09:32:25 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 tploch):
Erm, how is this a server configuration issue if you are not even checking
for X-Forwarded-For and X-Forwarded-Host headers? I tried setting the Host
header via the 'ProxyPreserveHost On' directive, but that broke the whole
app. Relying on REQUEST_URI is bad practice and should be avoided in the
first place. And telling me to spoof REQUEST_URI in wp-config.php is
surely not the right way to solve this.
If you have a user specifying the root url himself, why not use this base
url? I don't really understand why you say it's a server issue while this
is clearly a bad handling on apllication level...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16932#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list