httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29019] New: - Path explosed by multiple '/' in url
Date Sun, 16 May 2004 04:21:54 GMT
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


Mime
View raw message