Changeset 1988
- Timestamp:
- 11/24/2009 10:49:20 PM (3 months ago)
- Location:
- framework/1-8-0
- Files:
-
- 2 modified
-
tags/rc1/properties/HtmlHelperProperty.cfc (modified) (1 diff)
-
trunk/properties/HtmlHelperProperty.cfc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
framework/1-8-0/tags/rc1/properties/HtmlHelperProperty.cfc
r1987 r1988 758 758 759 759 <cfset var path = arguments.assetPath /> 760 <cfset var urlBase = getProperty("urlBase") /> 760 761 761 762 <!--- Don't do resolution on assets that are dynamically served ---> 762 <cfif NOT path.startsWith( getProperty("urlBase"))>763 <cfif NOT path.startsWith(urlBase) OR NOT Len(urlBase)> 763 764 <!--- Get path if the asset path is not a full path from webroot ---> 764 765 <cfif NOT path.startsWith("/")> -
framework/1-8-0/trunk/properties/HtmlHelperProperty.cfc
r1987 r1988 758 758 759 759 <cfset var path = arguments.assetPath /> 760 <cfset var urlBase = getProperty("urlBase") /> 760 761 761 762 <!--- Don't do resolution on assets that are dynamically served ---> 762 <cfif NOT path.startsWith( getProperty("urlBase"))>763 <cfif NOT path.startsWith(urlBase) OR NOT Len(urlBase)> 763 764 <!--- Get path if the asset path is not a full path from webroot ---> 764 765 <cfif NOT path.startsWith("/")>
