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

Attempting to download a folder from Documents and Media portlet search results in a truncated URL in Internet Explorer 11 (IE11)

    Details

      Description

      Summary
      Attempting to download a folder from Documents and Media portlet search results in a truncated URL in Internet Explorer 11 (IE11). This is because Internet Explorer 11 has a 2083 character limit, with a maximum path length of 2048 as described in this tech document from the vendor: https://support.microsoft.com/en-us/help/208427/maximum-url-length-is-2-083-characters-in-internet-explorer

      Steps to reproduce

      1. Start Liferay with de-34 installed
      2. Add a new Site called Site A
      3. In Site A, add a new public page called Page 1
      4. Add the Documents and Media portlet onto Page 1
      5. In the Documents and Media portlet's hamburger bar, click Configuration > Check Show Actions under Display Settings > Save
      6. In Document and Media portlet, add a folder called folder1
      7. Add a text file with some text in it called "text1.txt" and upload it inside of folder1
      8. Open Internet Explorer 11, and access Site A at http://localhost:8080/web/site-a/page-1
      9. In the Documents and Media portlet's search bar, search for the string folder1 to find folder1
      10. Click the hamburger bar next to the search result for folder1 and click on Download

      Actual Result
      An error page with "This page can't be displayed" is shown.

      Expected Results
      The download link opens without a problem.

      Reproduced in
      DXP + DE-26
      DXP + DE-34
      Branch 7.0.x (833daf60883fa262977ad880736836bbdba67314)

      Not reproduced in
      Master (da76af0463b5ca803c77c8becc19788da97ed9c1)

      • Note: URL is significantly shorter in Master. However it may be possible that if there are any other actions that exceed this length, it will encounter the same problem

        Attachments

          Activity

            People

            • Assignee:
              abel.yu Abel Yu (Inactive)
              Reporter:
              alan.huang Alan Huang
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 35 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP37
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.0 M1
                7.1.X
                Master