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

_getPortalURL method in LayoutReferencesExportImportContentProcessor.java does not account for invalid characters in the URL

Details

    Description

      Changes introduced by LPS-126914 caused regressions in:

      Steps from LPS-127272:

      1. In the main Liferay site, activate local staging
      2. Upload an image to Documents and Media and name it Document_1.jpg
      3. Go to Web Content > Templates
      4. Create a new Template with a Small Image URL: http://localhost:8080/webdav/guest-staging/document_library/Document_1.jpg
      5. Publish to Live

      Expected result
      Publish is successful
      Actual result
      Publish fails


      Steps from LPS-126914

      1. Create a new Web Content
      2. Enter the following in the content editor's source mode:
        <a href="tel:0123456789">phone number</a>
        
      3. Publish

      Expected Result
      Web Content publishes successfully
      Actual Result
      "Error: Your request failed to complete"

      Attachments

        Issue Links

          Activity

            People

              yang.cao Yang Cao
              jesse.yeh Jesse Yeh (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Jesse Yeh Jesse Yeh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 14 weeks ago

                Packages

                  Version Package
                  7.2.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master