LPS-49150 - Buttons in various portlets don't work on when setting virtual.hosts.valid.hosts property

Hi Jon,

Attached is an update for https://issues.liferay.com/browse/LPS-49150.

Please let me know if there are any issues.

Thanks!