-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Martin,

On 7/26/17 7:08 AM, Martin Nybo Andersen wrote:
> Hi list,
> 
> I've written some servlets with a url-pattern, that includes
> non-US-ASCII letters (specifically the danish letter æ). This works
> quite fine in tomcat 8.5.14 and previous versions. However, I get
> 404 Not Found with versions 8.5.15 and 8.5.16.
> 
> If I get the mappings from the servlet's ServletRegistration, then
> the non-US-ASCII letters are replaced by question marks.

Exactly where are they replaced by question marks? This often happens
when your system default character set is something like ISO-8859-1
and you are looking at a log file which had mangled your characters...
but the characters being used at runtime are correct.

> This behaviour seems to be introduces in revision 1793440: 
> http://svn.apache.org/viewvc?view=revision&revision=1793440
> 
> I have a very simple servlet that logs its url-pattern to
> catalina.out, if anyone is interested.

Please post the servlet and your web.xml configuration as well (if you
have a static url-mapping in web.xml).

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZeMjMAAoJEBzwKT+lPKRYKhQP/RgU++bUdpt07vmu+OBClSkm
zsq4+MfcFVd8kpTvw9K1Gl5AEH6mNwo+BsKO3fa3bAyj0QyeHpAtLlVSoUqN5/uM
HEHpja8ZKAdkhddTjHH4TSsWyryPEnRESV1FAzS7uTkbwVaVILrEp4gszqOHHWqj
1kuZxo+6JJrWl5tdG+q6ZvyqgdUmnMmulB8qovMsVwpd7EGXNOtuRYuVomY2S1pU
orQXw0ourk9/qq85D+SzwU1uUaHmwqZqmelkmVTdm1k1mNDO0850k1/Vpa0AnOCX
sxnFBEojgITB/qpKQlOm9kSjgJK9wIrLlz+vmMQP/ftE7flqVS0NdkXOC72c54hm
ugE+Fkw9fS4m5WL+ngB2bldOLdr9NggiaH+hi8KxN+6T9I70TuBUUWAnSlCGvtkw
xJJ3QJA3h3WCXjsWOgq4Dx4j5+ZJZaxCHw0JcMK2fTSfvwRoJMH/aGovOBoniQcy
5gatRvkFempN5RY7r/WFanAvNbUWr7R76n9V4iDp9hxD1QREBTxmTcFErf2WgqHM
ODWXdRAf26fKlEdUTC4mI9MaiX7W3gGGzf4VMpKs9rBXVK7ivvuBC2VnktQ74qsm
Qn0w3I9ctwrosKA9IXhKRICM5Avfdm32HTwtfj9J6lQZqhkHRh2onO6R/EQPboED
U7npJMF1SBJSr/LEE515
=70/h
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to