You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/02/18 13:35:17 UTC

[sling-org-apache-sling-launchpad-integration-tests] branch master updated: SLING-8266 - Stop embedding ESAPI

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 <ro...@apache.org>
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");