Ticket #459: mach_ii_build_1978_html_helper_property_fix.patch
| File mach_ii_build_1978_html_helper_property_fix.patch, 0.8 KB (added by doug.smith@…, 3 months ago) |
|---|
-
MachII/1.8.0.1978/properties/HtmlHelperProperty.cfc
746 746 hint="An unresolved asset path to resolve to a full web-root path." /> 747 747 748 748 <cfset var path = arguments.assetPath /> 749 <cfset var urlBase = getProperty("urlBase") /> 749 750 750 751 <!--- Don't do resolution on assets that are dynamically served ---> 751 <cfif NOT path.startsWith(getProperty("urlBase"))>752 <cfif Len(urlBase) EQ 0 OR NOT path.startsWith(urlBase)> 752 753 <!--- Get path if the asset path is not a full path from webroot ---> 753 754 <cfif NOT path.startsWith("/")> 754 755 <cfif arguments.assetType EQ "js">
