Add another edge case
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 7 Jan 2010 20:24:57 +0000 (20:24 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 7 Jan 2010 20:24:57 +0000 (20:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@897005 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/el/TestELInJsp.java
test/webapp/el-misc.jsp

index 7aad715..341de6f 100644 (file)
@@ -277,6 +277,7 @@ public class TestELInJsp extends TomcatBaseTest {
         assertTrue(result.indexOf("08-a2z") > 0);
         assertTrue(result.indexOf("09-az2") > 0);
         assertTrue(result.indexOf("10-${'foo'}bar") > 0);
+        assertTrue(result.indexOf("11-\"}") > 0);
     }
 
 
index 0c8cba1..8e7e475 100644 (file)
@@ -29,5 +29,6 @@
     <tags:echo echo="08-a${\"2\"}z" />
     <tags:echo echo="09-az${\"2\"}" />
     <tags:echo echo="10-\${'foo'}${'bar'}" />
+    <tags:echo echo="11-${\"\\\"}\"}" />
   </body>
 </html>
\ No newline at end of file