Type: Regression Bug
Affects Version/s: 6.2.10 EE GA1, 7.0.0 M3
We have a site for which virtual host is set to a domain name, but if the site is accessed from a different domain name other than the domain name set in the virtual host, the rendered page form links and a href links point to the virtual host domain instead of the domain being accessed.
Additionally, this seems to only occur after platform-15+ is installed. The client was on Platform-18. After uninstalling this, the portal behaved the way he wanted, i.e. links were pointing to the domain being accessed instead of the virtual host.
I tested all the way from platform-2 to platform-14, platform 15, 18, and 21, and the issue didn't appear until after platform-15.
STEPS TO REPRODUCE
1. Set a virtual host for a liferay site (i.e. test.com)
2. Add a forms portlet to the homepage
3. Access the site through a different url (i.e. test2.com:8080)
4. Check the URL when hovering over the link for configuration in the configuration menu for the forms portlet.
URLs should show test2.com instead of test.com
URL shows test.com instead of test2.com
Reproduced in 6.2.x