Admin Layout - loop through jsFullAppendList and cssFullAppendList expects no extension

Description

I believe the code that loops through those elements, for a full url shouldn't add an extension, I think we should expect the full url.

1 2 3 4 5 6 <cfloop list="#event.getValue( "cssAppendList", "", true )#" index="css"> <cfset addAsset( "#prc.cbroot#/includes/css/#css#.css" )> </cfloop> <cfloop list="#event.getValue( "cssFullAppendList", "", true )#" index="css"> <cfset addAsset( "#css#.css" )> </cfloop>

I know since we're looping through a css or js variable, we could assume this, but this creates complications when the url might not need an extension, or have query params, or other non normal path considerations.

I think we should drop the .css and .js, only for the cssFullAppendList and the jsFullAppendList, not for the normal cssAppendList and jsAppendList.

Status

Assignee

Unassigned

Reporter

Gavin Pickin

Labels

None

Components

Fix versions

Affects versions

3.0.0

Priority

Major
Configure