From 8a7c7a697b17eb05065bf3593cb4ed48df3cce6d Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Tue, 13 Oct 2015 00:40:47 +0000 Subject: [PATCH] Fix for ContentWorker at OFBIZ-6669. For that I have added owasp-java-html-sanitizer-r239.jar and put a "content.sanitize=true" property in content.properties with some explanations. The reason I put this property is because the sanitizer does some (safe) changes which might be unwanted in a context where you are "sure" no one can inject/exploit your DB, see the JIra issue for details. Note that this does not affect the *ContentWrapper.java classes where we use OWASP encoding and not sanitizer. The reason we need the sanitizer here is because we are no only handling content but also HTML code... git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1708274 13f79535-47bb-0310-9956-ffa450edef68 --- cmssite/data/CmsSiteDemoData.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmssite/data/CmsSiteDemoData.xml b/cmssite/data/CmsSiteDemoData.xml index 92032fce4..11043d255 100644 --- a/cmssite/data/CmsSiteDemoData.xml +++ b/cmssite/data/CmsSiteDemoData.xml @@ -78,7 +78,7 @@ under the License.

This is a site to demonstrate the CMS capabilities of OFBiz. Its basic function is the editing of website text inside a browser. If you want to edit the text you are reading now, logon to the backend system, select the content component - click on 'cmssite' in the website list and ten click on the 'cms' button. There you see on the left hand side the tree of this website. + click on 'cmssite' in the website list and then click on the 'cms' button. There you see on the left hand side the tree of this website. If you click on 'homepage' then you can edit the content of this page at the box in the r