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

URLs can get too long (more than 2000 characters) with SearchPortlet

    Details

      Description

      Liferay Portal URL can easily get longer than 2000 characters. Some browsers and load balancers cannot handle such long URL, causing errors on the page because it is either blocked or truncated.

      Steps to reproduce

      1. Add a document to Documents and Media (name it foo, for example)
      2. Search for foo using the theme-embedded search portlet (in a site page)
      3. Click on search button again
      4. Click to see the document foo (do not download)

      Expected result

      The URL used to see the document will be of reasonable size

      Current result

      The URL used to see the document will be of more than 4000 characters and the application server may refuse to fulfill the request.

      Reproduced on

      master

      @ 40617379c39dbdee62509f6f1af4711dc0b8f34d

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              cleydyr.albuquerque Cleydyr Albuquerque
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 25 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP12
                  7.0.3 CE GA4
                  7.0.X EE
                  Master