Issue
-
Web Application Firewalls (WAF) or other security layers block URLs containing special characters, such as "@" and "$".
-
This typically occurs when downloading Liferay's default JavaScript (JS) files, causing unexpected behavior or missing assets.
Environment
- Liferay DXP (All Versions)
Resolution
To prevent Cross-Site Scripting (XSS), Liferay escapes user-submitted values on output rather than encoding input, which supports broader integration features. Because WAF configurations vary by provider, you must configure your firewall to allow Liferay-specific, non-malicious requests.
-
Review your WAF or network logs to identify the specific Liferay URLs being blocked.
-
Configure your WAF to whitelist the affected Liferay URLs, or adjust the rules to allow the
@and$characters for Liferay-specific requests. -
Review your version's
portal-ext.propertiesfile for keywords or locales to help identify acceptable characters in your environment and further fine-tune your environment.