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

StackOverflowError can be thrown when editing web content with long html comment

    Details

      Description

      Steps to Reproduce:

      1. Start portal with default -Xss Java settings.
      2. Create a web content.
      3. Edit the web content, and click "Code view" to edit HTML code.
      4. Add the content of the example.html file
      5. Try to publish.

       

      Expected Results:

      Web content should be published.

       

      Actual Results:

      StackOverflowError is thrown because of the used regex.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 5 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP93
                  7.0.10.14 DXP SP14
                  7.0.X
                  7.1.10 DXP FP18
                  7.1.10.5 SP5
                  7.1.X
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.3 CE GA4
                  7.3.10 DXP GA1
                  Master