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

rombert pushed a commit to annotated tag org.apache.sling.xss-1.0.10
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-xss.git

commit ee2a19531c7e668a0be1ef39c41e552269ff3430
Author: Radu Cotescu <[email protected]>
AuthorDate: Wed Sep 23 15:10:56 2015 +0000

    SLING-5050 - Disable AntiSamy's default formatOutput policy directive
    
    * set "formatOutput" AntiSamy policy directive to "false"
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/xss@1704874 
13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/resources/SLING-INF/content/config.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/SLING-INF/content/config.xml 
b/src/main/resources/SLING-INF/content/config.xml
index ff0d48e..2ca1732 100644
--- a/src/main/resources/SLING-INF/content/config.xml
+++ b/src/main/resources/SLING-INF/content/config.xml
@@ -26,7 +26,7 @@ http://www.w3.org/TR/html401/struct/global.html
         <directive name="omitDoctypeDeclaration" value="true"/>
         <directive name="maxInputSize" value="200000"/>
         <directive name="useXHTML" value="true"/>
-        <directive name="formatOutput" value="true"/>
+        <directive name="formatOutput" value="false"/>
         <directive name="nofollowAnchors" value="false"/>
         <directive name="validateParamAsEmbed" value="true"/>
         <directive name="preserveSpace" value="true"/>

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to