-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1 EE SP2 (5.1.5), 5.2 EE (5.2.4)
-
Fix Version/s: 5.1 EE SP3 (5.1.6), 5.2 EE SP1 (5.2.5)
-
Component/s: Dev Tools > MVC Portlet, Legacy Components > API
-
Labels:None
-
Environment:All
liferay-portlet.xml now honors full URLs for the following elements:
header-portal-css
header-portlet-css
footer-portal-css
footer-portlet-css
header-portal-javascript
header-portlet-javascript
footer-portal-javascript
footer-portlet-javascript
Note: If a full URL is used, Liferay will not perform it's standard optimization on the CSS / JS file
As part of this improvement, the following method has been added to HttpUtil:
public static boolean hasProtocol(String url)
- is related to
-
LPS-3969 CSS and JS paths set in liferay-portlet.xml should honor whole URLs
- Closed