tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Dang <jdang...@gmail.com>
Subject Character encoding issue in URL
Date Wed, 25 Jan 2017 05:25:45 GMT
Hi, I have a clean install of an older version of Tomcat (8.0.24).  I have
noticed when a character is encoded in the URL, Tomcat fails to return the
URL requested.  I've noted this same request performed in IIS works fine.

Apache Tomcat tests:

Works (No escape) –  http://localhost:8080/examples/delme/íj.pdf

Works (URL encoded) –  http://localhost:8080/examples/delme/%C3%ADj.pdf

Failed (Char encoded) – http://localhost:8080/examples/delme/%EDj.pdf



IIS tests:

Works (No escape)  –  http://localhost:8080/examples/delme/íj.pdf

Works (URL encoded) –  http://localhost:8080/examples/delme/%C3%ADj.pdf

Works (Char encoded) – http://localhost:8080/examples/delme/%EDj.pdf


I've reviewed this wiki page:


https://wiki.apache.org/tomcat/FAQ/CharacterEncoding


And it seems to imply that I shouldn't have to do anything, and the URL
request should return properly.


So my question is, what do I need to configure in Apache Tomcat to handle
the character encoding request like IIS does?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message