tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36362] missing check for Java reserved keywords in tag file processing
Date Tue, 28 Jun 2011 00:16:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=36362

--- Comment #6 from Konstantin Kolinko <knst.kolinko@gmail.com> 2011-06-28 00:16:37
UTC ---
Created attachment 27216
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27216
webapps/examples/WEB-INF/tags/helloWorld.tag

This change in TC7 - r1138950 - broke processing for tag files that have
attributes containing '_' character. That is because name mangling in
JspUtil.makeJavaIdentifier() is too intrusive for this use case.

An example is attached. To reproduce:
1. Save the file as webapps/examples/WEB-INF/tags/helloWorld.tag
2. Start Tomcat and navigate to
http://localhost:8080/examples/jsp/jsp2/tagfiles/hello.jsp

3. Expected: showing the page, Actual: error 500, because the tag fails to
compile.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message