[wp-trac] [WordPress Trac] #25797: wp_guess_url() broken with symlinks involved
WordPress Trac
noreply at wordpress.org
Tue Nov 5 07:39:38 UTC 2013
#25797: wp_guess_url() broken with symlinks involved
-----------------------------------------+------------------
Reporter: bootc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.8
Component: Upgrade/Install | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback |
-----------------------------------------+------------------
Changes (by dd32):
* keywords: => has-patch reporter-feedback
Comment:
I wasn't able to duplicate this using the steps provided, but I was able
to duplicate a similar issue when WordPress is installed in a
subdirectory, and you're hitting an index.php in a higher level directory.
The string replace would replace /b/ in /a/b/c/ when it should be
stripping off the /a/ as well, [attachment:25797.diff] fixes that case.
I can't determine if that's the same problem as being reported here
though, since the steps are radically different. Can you try the patch and
see if it works for your case?
nginx unrolls symlinks in it's root, and Apache doesn't allow DocumentRoot
to point to a Symlink (at least, not under default configurations), so the
exact steps here were a bit hard to duplicate.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25797#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list