-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, Master
-
Fix Version/s: 7.0.0 DXP FP59, 7.0.0 DXP SP9, 7.0.X, 7.1.X, Master
-
Component/s: Core Infrastructure
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Description
After setting a virtual host to remove /web from urls, a localized friendly url page will redirect to a url with /web added back.
Steps to Reproduce
- In /etc/hosts set
127.0.0.1 test.com
- Start Liferay
- Go to Control Panel > Configuration > Instance Settings
- Set Virtual Host to "test.com"
- Go to the default site > navigation > site pages
- Configure the welcome page
- Set the friendly URL for the Spanish language to /casa
- go to test.com:8080/casa
Expected Results
You are redirected to test.com:8080/en/home because the default site language is English.
Actual Results
You are redirected to test.com:8080/en/web/guest/home
Reproduced on
Master: 500699b1d05a4633397556851ed612ff7469c284
- causes
-
LPS-81758 Duplicate locale in localized friendly URL after adding a localized friendly URL
- Closed