Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12653

Sanitizer <br> fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Upcoming Branch
    • 22.01.01
    • content
    • None

    Description

      I copied a text with multiple lines from a text editor into the Trumbowyg Html field.The editor creates the Html structure using unclosed <br> elements.

      Unfortunately the sanitizer logic just takes <br />. A security warning is thrown and the content will not be stored.

      Issue also a request on Trumbowyg request list:

      https://github.com/Alex-D/Trumbowyg/issues/1283

      Attachments

        1. CustomSafePolicy.patch
          0.9 kB
          Ingo Wolfmayr
        2. OFBIZ-12653.patch
          1 kB
          Jacques Le Roux
        3. UtilCodec.patch
          2 kB
          Ingo Wolfmayr

        Activity

          People

            jleroux Jacques Le Roux
            iwolf Ingo Wolfmayr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: