Title:
sameFormFieldsAsArray incorrectly deserializes form values containing commas
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Bob G. / ()
Created: 11/15/2019
Components: Language, Application Framework, PerAppSettings
Versions: 2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2018,0,05,315699 / 2020.0.0.318323
Priority/Frequency: Normal / Some users will encounter
Locale/System: English / Win 2016
Vote Count: 4
Problem Description:
When multiple form fields of the same name are posted the resulting array splits the items containing commas. This is a change of behavior from CF 11 and seems to defeat the purpose of sameFormFieldsAsArray.
Steps to Reproduce:
POST stuff=foo&staff=bar,baz
Actual Result:
stuff = ["foo", "bar", "baz"]
Expected Result:
stuff = ["foo", "bar,baz"]
Any Workarounds:
Attachments:
Comments: