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;Hello World!<script></script>");
- assertContains(content, "DEFAULT:&amp;Hello World!<script></script>");
- assertContains(content, "EL_VALUE:I'm Awesome!!");
- assertContains(content, "BODY_CONTENT:&copy;Body Content");
+ assertContains(content, "HTML_ENCODE:&amp;Hello World!<script></script>");
+ assertContains(content, "DEFAULT:&amp;Hello World!<script></script>");
+ assertContains(content, "EL_VALUE:I'm Awesome!!");
+ assertContains(content, "BODY_CONTENT:&copy;Body Content");
assertContains(content, "BODY_CONTENT_FALLBACK:1");
log.info("testTaglib - TEST SUCCESSFUL");