Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE, 7.0.1 CE GA2
-
6.2.x
-
Committed
-
1.25
-
2
Description
Property "redirect.url.domains.allowed" does not allow for subdomains.
Steps
- Add test.com and a.test.com to hosts file.
- Set the following in portal-ext.properties
redirect.url.security.mode=domain redirect.url.domains.allowed=*.test.com
- Start Liferay and navigate to Control Panel > Configuration > Instance Settings.
- Change the default instance's virtual host to test.com.
- Navigate to the default Site's Site Administration > Configuration > Site URL page.
- Set the site's virtual host to a.test.com and the friendly URL to /a.test and save.
- Navigate to test.com:8080/web/a.test
- Sign in
- Create a basic web content article in the control panel
- Click on the article
Expected
Redirect is displayed and no warning is logged.
Actual
Redirect is displayed and "Redirect URL . . . is not allowed" warning is logged.
Attachments
Issue Links
- relates
-
LPE-15029 Property "redirect.url.domains.allowed" can allow subdomains
-
- Closed
-