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 2004/07/02 22:15:20 UTC
DO NOT REPLY [Bug 29890] New: -
tomcat failed to serve static files having non-lating characters in their path
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=29890>.
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=29890
tomcat failed to serve static files having non-lating characters in their path
Summary: tomcat failed to serve static files having non-lating
characters in their path
Product: Tomcat 4
Version: 4.0.6 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: anton@engec.ru
Hi Developers,
I use default configuration of the latest Apache Tomcat/4.1.30 running with
Windows 2000 Server SP4 Russian edition. Default configuration allows to
server static content like HTML pages and images via DefaultServlet of
catalina class. It happened, that no resources with non-latin symbols in their
path can be accessed. Server reply is: 404 - resource is not available.
Specifically, if name of the file or directory contains any Cyrillic symbols
(or non-lating in general, as I see in other postings), tomcat can’t find it
any more. I checked the correctness of encoding by browser (IE and Opera) and
found out, that they both give out perfect %-encoding of UTF-8 string.
My suggestion is that there is some issue in URI decoder in DefaultServlet.
Here extract from my default web.xml:
web.xml:
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>
org.apache.catalina.servlets.DefaultServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
I'll be happy to know, that it is not a bug, but my configuration mistake, if
anybody gives me a clue.
Sincerely,
Anton Golubev
ENGECON
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org