Sanitizer should be configurable to process fields according to conditions
--------------------------------------------------------------------------

                 Key: NXP-5335
                 URL: https://jira.nuxeo.org/browse/NXP-5335
             Project: Nuxeo Enterprise Platform
          Issue Type: Improvement
          Components: Blogs / Websites / Wikis
    Affects Versions: 5.3.1
            Reporter: Thierry Delprat
            Assignee: Thierry Delprat
             Fix For: 5.3.2


When the same document field can contain text, html or wiki markup, we should 
be able to configure conditions on sanitizer.
=> for a webpage, you may want to only sanitize the webpages that are using 
HTML.

       <sanitizer name="foo">
         <field filter="webp:isRichtext" filterValue="true">webp:content</field>
       </sanitizer>
     </code>

     In this example the field webp:content will be sanitized only when
     the String representation of the webp:isRichtext is "true".


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to