You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/05/09 14:24:04 UTC

DO NOT REPLY [Bug 8936] New: - Won't serve files that have percent in the file name.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8936

Won't serve files that have percent in the file name.

           Summary: Won't serve files that have percent in the file name.
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: j.r.maber@leeds.ac.uk


It seems reasonable to assume that it should be possible to publish files in a
web server that have the percentage symbol in the file name.  This was possible
in the previous version of Tomcat.

Test scenario:

1) Create directory;
{Catalina}/webapps/ROOT/test/
2) Create text file in the directory called 100%.txt
3) Access the URL;
http://localhost/test/
A valid file listing page is displayed with the correct URL encoded link to the
test file;
/test/100%25.txt
4) Click on the link 
A 400 error code is returned to the browser and the following is logged;
2002-05-09 13:26:19 HttpProcessor[80][4]  Invalid request URI: '/test/100%25.txt'

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>