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

Web Content Display Javascript title is blank in edit window

    Details

      Description

      1. Add Web Content Display portlet to home page.
      2. Add a WC Content -> Fill the title with :<script>alert(123)</script>.
      3. Publish
      4. Edit the newly created WC Content.
      5. Click Schedule -> Click Basic Preview.

      Expected result:
      Portal should be displaying the JS title.

      Actual result:
      Title is blank with JS name, this issue only occur in master. The javascript title will appear in the control panel.

        Attachments

        1. attachemnt.JPG
          161 kB
          Serena Song
        2. attachment.gif
          1.79 MB
          Serena Song
        3. JS_title.png
          49 kB
          Tammy Fong

          Activity

            People

            • Assignee:
              julio.camarero Julio Camarero (Inactive)
              Reporter:
              he.song Serena Song (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 46 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 M1