This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-integration-tests.git


The following commit(s) were added to refs/heads/master by this push:
     new daf0aea  SLING-8266 - Stop embedding ESAPI
daf0aea is described below

commit daf0aea58df356055d72a07220505834f8c0035b
Author: Robert Munteanu <[email protected]>
AuthorDate: Tue Feb 12 09:34:21 2019 +0100

    SLING-8266 - Stop embedding ESAPI
    
    Update taglib encoding tests to reflect the new behaviour of the XSS 
tags/functions.
---
 .../webapp/integrationtest/scripting/SlingJSPTaglibTest.java      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/scripting/SlingJSPTaglibTest.java
 
b/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/scripting/SlingJSPTaglibTest.java
index 7132b8b..f00a183 100644
--- 
a/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/scripting/SlingJSPTaglibTest.java
+++ 
b/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/scripting/SlingJSPTaglibTest.java
@@ -77,10 +77,10 @@ public class SlingJSPTaglibTest extends RenderingTestBase {
                assertContains(content, "All Tests Succeeded");
                
                // tests for the encoding stuff
-               assertContains(content, "HTML_ENCODE:&amp;amp&#x3b;Hello 
World&#x21;&lt;script&gt;&lt;&#x2f;script&gt;");
-               assertContains(content, "DEFAULT:&amp;amp&#x3b;Hello 
World&#x21;&lt;script&gt;&lt;&#x2f;script&gt;");
-               assertContains(content, "EL_VALUE:I&#x27;m 
Awesome&#x21;&#x21;");
-               assertContains(content, "BODY_CONTENT:&amp;copy&#x3b;Body 
Content");
+               assertContains(content, "HTML_ENCODE:&amp;amp;Hello 
World!&lt;script&gt;&lt;/script&gt;");
+               assertContains(content, "DEFAULT:&amp;amp;Hello 
World!&lt;script&gt;&lt;/script&gt;");
+               assertContains(content, "EL_VALUE:I&#39;m Awesome!!");
+               assertContains(content, "BODY_CONTENT:&amp;copy;Body Content");
                assertContains(content, "BODY_CONTENT_FALLBACK:1");
 
                log.info("testTaglib - TEST SUCCESSFUL");

Reply via email to