Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-7379

Global validator SafeHtmlValidatorDefinition should accept HTML comment block

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.26
    • 6.2.21
    • None
    • None
    • Yes
    • Yes
    • Nucleus 21
    • 3

      Steps to reproduce

      1.  Enable source mode for any Rich Text Field
      2.  Put an HTML comment into "source" mode with some valid text and tags
      3. Save the component

      .. Logs, screenshots, gifs...

      Expected results

      • Content save without any error

      .. Justify non-trivial expectations with a link to a doc or a relevant discussion.

      Actual results

      • Users cannot save content, "Malicious HTML code found" validation error occurred.

      Workaround

      • Please ask users/customers to temporarily remove the comment(s) from your HTML by using any HTML editor / online editor tool for that.

      Development notes

      • N/A

        Acceptance criteria

          There are no Sub-Tasks for this issue.

              sang.ngo Sang Ngo Huu
              viet.nguyen Viet Nguyen
              Nucleus
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2d
                  2d