tracker issue : CF-4205918

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

sameFormFieldsAsArray incorrectly deserializes form values containing commas

| View in Tracker

Status/Resolution/Reason: Open//

Reporter/Name(from Bugbase): Bob G. / ()

Created: 11/15/2019

Components: Application Framework, PerAppSettings

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 2018,0,05,315699 /

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:

I entered a typo under "Steps to Reproduce:" POST stuff=foo&stuff=bar,baz
Comment by Bob G.
31841 | November 20, 2019 04:24:52 PM GMT