tracker issue : CF-4204007

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

DecodeFromURL does not decode %2B as +

| View in Tracker

Status/Resolution/Reason: To Track//ThirdParty

Reporter/Name(from Bugbase): Tyler C. / ()

Created: 02/06/2019

Components: Functions, String

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 2018,0,01,311402 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Windows 10 64 bit

Vote Count: 0

Problem Description:

The DecodeFromURL function decodes %2B as a space character instead of +.

Steps to Reproduce:

<cfdump var="#URLDecode("%2B")#" /><br />
<cfdump var="#DecodeFromURL("%2B")#" /><br />
<cfdump var="#URLDecode("%2B") EQ DecodeFromURL("%2B")#" />

Actual Result:

URLDecode("%2B") outputs " "

Expected Result:

URLDecode("%2B") outputs "+"

Any Workarounds:

Don't use previous function.