https://issues.apache.org/bugzilla/show_bug.cgi?id=56731
Bug ID: 56731
Summary: EL-Expression with escaped single quote leads to
ELException
Product: Tomcat 7
Version: 7.0.54
Hardware: PC
Status: NEW
Severity: regression
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31822
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31822&action=edit
Error page with stack trace from tomcat
Hi Folks,
the following line in an 2.2-XML-JSP worked in Tomcat 7.0.39 but triggers an
ELException in Tomcat 7.0.54 (see attachment for details):
<div title="${empty myVar ? '\'in quotes\'' : ''}">test</div>
I seems that the expression "'\'test\''" leads to the the problem because
including it in parenthesis solves the problem in 7.0.54:
<div title="${empty myVar ? ('\'in quotes\'') : ''}">test</div>
The problem is that we have a lot of similar expressions containing escaped
single quotes in our webapp.
Thanks for your help,
Christof Luick.
--
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]