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

Site page export error is not localized

    Details

      Description

      NOTE: This is not a simple case where we are just missing a language key. Some re-engineering is going to be needed to fix this issue which might require a change in the API

      1. Start server with clean database.
      2. Login portal.
      3. Go to Admin/Site Administration/Site Pages.
      4. Click Export.
      5. Fill LAR file name: <script>alert("xss")</script>.lar.
      6. Click Export.
      7. After the file has been generated, click on the Details link in the stats column

      Expected result:
      The error message is localized

      Actual result:
      The error message is always in English.

      This bug applies to all the portlets that have "Export" feature.

        Attachments

          Activity

            People

            Assignee:
            jared.zimmerman Jared Zimmerman (Inactive)
            Reporter:
            samuel.kong Samuel Kong
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 10 weeks ago

                Packages

                Version Package
                6.2.0 CE RC2