https://issues.apache.org/bugzilla/show_bug.cgi?id=54069
Priority: P2
Bug ID: 54069
Assignee: [email protected]
Summary: Jasper no longer parses
<%----------------------------%>
Severity: normal
Classification: Unclassified
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 7.0.32
Component: Jasper
Product: Tomcat 7
My company's JSPs use a lot of comment blocks like this:
<%----------------------------%>
<%-- Blah blah blah --%>
<%----------------------------%>
Starting with Tomcat 7.0.32, this causes JasperExceptions:
org.apache.jasper.JasperException: Unterminated <%-- tag
Up until 7.0.30, this worked fine. Perhaps this is introduced by bug 53713?
This is easy to reproduce. Create a jsp file with the following contents:
---
Start of page.
<%----------------------------%>
<%-- Blah blah blah --%>
<%----------------------------%>
End of page.
---
Visit this jsp page with 7.0.32 and 7.0.30 and see the difference.
I've been looking at the jsp specs to see if <%----------------------------%>
might be invalid; perhaps a space is mandatory following the two dashes. But I
didn't see that mentioned explicitly anywhere.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]