Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-5335

Sanitizer should be configurable to process fields according to conditions

    XMLWordPrintable

    Details

    • Impact type:
      API added

      Description

      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".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tdelprat Thierry Delprat
                Reporter:
                tdelprat Thierry Delprat
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: