Details
-
Bug
-
Status: Closed
-
Resolution: Duplicate
-
6.2.X EE, 7.0.2 CE GA3, 7.0.0 DXP FP13
-
3
Description
If you use the portal with a port different from 80 the URLs contains group's friendly URL.
To replicate the issue:
- set virtual host for your site public pages (for example "test-local" for site "guest") and add the virtual host into your "hosts" file (for example "127.0.0.1 test-local")
- change the default portal virtual host (for example your ip address or 127.0.0.1)
- create some sample public pages into your site (for example "sample-page")
- sign-in through virtual host (for example http://test-local:8080)
- click to some link into navigation menu
Expected result: the URL doesn't contains the group's friendly URL (for example: http://test-local/sample-page)
Actual result: the URL contains the group's friendly URL (for example: http://test-local/web/guest/sample-page)
This issue seems due to this check: https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/com/liferay/portal/util/PortalImpl.java#L8241
Attachments
Issue Links
- duplicates
-
LPS-72481 Layout set friendly URL is appended even when a virtual host is set for it
- Closed