How to reproduce:
- set short urls to create view prefixes like http://localhost/foswiki/Sandbox/WebHome
- create a topic called
Foswiki
- save
- when visiting the url http://localhost/foswiki/Sandbox/Foswiki, you'll see Sandbox.WebHome instead
The error is in
Foswiki::Engine::CGI.pm where the
SCRIPT_NAME is removed from the
PATH_INFO this is done using
something like
$pathInfo =~ s/$scriptName//i;
This will erase any non-case-sensitive occurrence from the path. Obviously this is
poo.
It must only replace
SCRIPT_NAME from the
prefix of the
PATH_INFO.
Changing this to
$pathInfo =~ s/^$scriptName//;
This bug is present in any foswiki versions available.
--
MichaelDaum - 03 Sep 2010
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. 
