You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/07/16 21:47:18 UTC
[Bug 56731] New: EL-Expression with escaped single quote leads to
ELException
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: dev@tomcat.apache.org
Reporter: c.luick@gmail.com
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 56731] EL-Expression with escaped single quote leads to
ELException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56731
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
OS| |All
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
The issue is known and already fixed and mentioned in changelog.
The sample works with the current tc7.0.x
*** This bug has been marked as a duplicate of bug 56334 ***
--
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