tracker issue : CF-4198981

select a category, or use search below
(searches all categories and all time range)
Title:

script function metadata failsto compile if keys contains : or -

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Luis Majano / Luis Majano ()

Created: 07/03/2017

Components: Language, CF Component

Versions: 2016,11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: all / latest build

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Mac 10 All

Vote Count: 2

Problem Description:

If you create functions with metadata that contains either colons : or dashes - the compile will fail.  This works in lucee.

Steps to Reproduce:

Create script functions with metadata


{code:java}
<cfscript>
function test()
x-api-token="true"
docbox:generic="false"{
}
</cfscript>
{code}


Actual Result:

Expected Result:

Any metadata key should be allowed to contain : or - characters.

Any Workarounds:

Attachments:

Comments:

+++++++++++1
Vote by sana u.
531 | July 04, 2017 10:45:09 AM GMT