-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.2 CE GA3, 7.0.0 DXP FP13, 7.0.X EE
-
Fix Version/s: 7.0.0 DXP FP14, 7.0.0 DXP SP3, 7.0.3 CE GA4, 7.0.X EE
-
Component/s: Web Search > Search Widgets
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Master Fully fixed by
LPS-69689. See further in the comments on this ticket.
70x Partially fixed by
LPS-70118.
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
- Add a document to Documents and Media (name it foo, for example)
- Change search portlet configuration and disable "view in context" option
- Search for foo using the theme-embedded search portlet (in a site page)
- Click on search button again
- Click to see the document foo (do not download)
h3. Expected result
The URL used to see the document will be of reasonable size
h3. 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.
- Discovered while testing
-
LPS-70118 URLs can get too long (more than 2000 characters) with SearchPortlet
- Closed