You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/05/16 06:21:54 UTC
DO NOT REPLY [Bug 29019] New: -
Path explosed by multiple '/' in url
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29019>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29019
Path explosed by multiple '/' in url
Summary: Path explosed by multiple '/' in url
Product: Apache httpd-1.3
Version: HEAD
Platform: PC
URL: http://greatcn.org//bbs/templates/subSilver/images/folde
r_big.gif
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: mod_rewrite
AssignedTo: bugs@httpd.apache.org
ReportedBy: coywolf@greatcn.org
CC: coywolf@greatcn.org
Path explosed by multiple '/' in url.
For example, http://greatcn.org/bbs/ works ok. But if one visits
http://greatcn.org//bbs/ he'll get the filesystem path: /home/coywolf/greatcn.org/.
http://greatcn.org//bbs/templates/subSilver/images/folder_big.gif
=>
http://cnphpbb.com/forum/templates/subSilver/images//home/coywolf/greatcn.org//bbs/templates/subSilver/images/folder_big.gif
$ cat .htaccess
RewriteEngine on
RewriteRule (.*) http://cnphpbb.com/forum/templates/subSilver/images/$1 [L]
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org