Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-102709

HTML editable field content is not being validated on save

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: WCM > Page Editor
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Not validating the HTML may produce undesirable results. Here is an example:

      • Add an HTML fragment to a page.
      • Add some invalid content (e.g. <html></html>) and save.
      • Check that the HTML tag is not removed, and a class is added to it (is this correct?).
      • Edit that same fragment again, replacing the content added in 2 by <!-- (an open comment, with no closing counterpart) and save.
      • Refresh the page.
      • It is not possible to edit the fragment content anymore (edit controls don't show up).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                pablo.molina Pablo Molina
                Participants of an Issue:
                Recent user:
                Pablo Molina
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  9 weeks, 2 days ago

                  Packages

                  Version Package