https://bz.apache.org/bugzilla/show_bug.cgi?id=61351

--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> ---
Interesting analysis.

A servlet-mapping can be created by a tool. E.g. JspC:

https://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/JspC.java?revision=1800816&view=markup#l1092

o.a.j.JspC.generateWebMapping()

Encoding of generated web.xml file is configurable ("-webxmlencoding" switch),
but the pattern itself is simply written as

> mappingout.write(file.replace('\\', '/'));

If we are to require that url-mapping pattern is urlencoded, JspC should be
adjusted for that.

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

Reply via email to