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 2014/02/20 09:27:48 UTC

[Bug 56168] New: Url with filename with accent gives 404

https://issues.apache.org/bugzilla/show_bug.cgi?id=56168

            Bug ID: 56168
           Summary: Url with filename with accent gives 404
           Product: Tomcat 7
           Version: 7.0.52
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Integration
          Assignee: dev@tomcat.apache.org
          Reporter: zebul666@hotmail.com

When building an application in eclipse Kepler SR1 and using Tomcat 7.0.41 or
7.0.52, when I try to follow a link in my site where the filename contains an
accent, the url is correctly displayed in the url bar of the navigator/browser,
but tomcat gives nonetheless a 404 error.
For example:
http://localhost:8081/Air_de_Java/viepriv%C3%A9e.html or
http://localhost:8081/Air_de_Java/vieprivée.html is shown in url bar while
tomcat says:

"Etat HTTP 404 - /Air_de_Java/viepriv%C3%A9e.html

type Rapport d''état

message /Air_de_Java/viepriv%C3%A9e.html

description La ressource demandée n''est pas disponible.
Apache Tomcat/7.0.52"

I am using windows 7 pro French
The file soring the url is an html5 utf8 charset file.

The behavior is the same if I build a war and deploy it inside tomcat and run
the app there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56168] Url with filename with accent gives 404

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56168

--- Comment #3 from zeb ulon <ze...@hotmail.com> ---
Please note that I am not even using servlet or jsp yet. I am just using static
web pages served by tomcat. And it is the url with accent that is not correctly
handled by tomcat.

So I don't see how playing with the character encoding in the deep core of
tomcat will help me any how.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56168] Url with filename with accent gives 404

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56168

--- Comment #2 from zeb ulon <ze...@hotmail.com> ---
OK.
I get no help on the irc chan so I thought it was a bug, not finding any
correct documentation pertinainting to my problem with google.

Why utf-8 is not the default everywhere now ? and latin1 is still assumed to be
ht default ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56168] Url with filename with accent gives 404

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56168

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 OS|                            |All

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
1. Bugzilla is not a support forum.
There is no bug. It is an issue with your configuration.
http://tomcat.apache.org/bugreport.html#Bugzilla_is_not_a_support_forum

2. http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56168] Url with filename with accent gives 404

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56168

--- Comment #4 from Mark Thomas <ma...@apache.org> ---
Again, Bugzilla is not a support forum. Please use the Apache Tomcat users
mailing list. If you continue to abuse Bugzilla then your account will be
suspended.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org