tracker issue : CF-4198416

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

Convert URL and FORM fields like "id[]" to an array

| View in Tracker

Status/Resolution/Reason: To Fix//Investigate

Reporter/Name(from Bugbase): Bradley Wood / Bradley Wood ()

Created: 03/20/2017

Components: Language

Versions: 2016

Failure Type: Enhancement Request

Found In Build/Fixed In Build: /

Priority/Frequency: Normal /

Locale/System: / Platforms All

Vote Count: 1

Lucee Server (and other popular languages like PHP) support a feature where form or URL variables that end with "[]" will be converted into an array.  

URL Ex:
file.cfm?id[]=foo&id[]=bar

Form Ex:
<input name="id[]" value="foo">
<input name="id[]" value="bar">

Those examples would create an array in the URL or form scope containing the items "foo" and "bar".

Attachments:

Comments: