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
This commit is contained in:
@@ -78,7 +78,7 @@ under the License.
|
||||
<p>
|
||||
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
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user