tracker issue : CF-4036452

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

URLDecode() Removed normal Alphanumeric Characters

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Mary Jo Sminkey / Mary Jo Sminkey (Mary Jo Sminkey)

Created: 08/13/2015

Components: General Server

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / CF2016

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Win All

Vote Count: 1

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on April 22, 2016 using build 2016.0.01.298513
Problem Description: In cases where URLDecode() is getting test strings, it's removing characters that it shouldn't. 

Steps to Reproduce: Test: writedump(URLDecode( "Save Up To 30% on Orders" ));

Actual Result: Save Up To 30% o Orders

Expected Result: Save Up To 30% on Orders

Any Workarounds: None other than not using URLDecode()

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4036452

External Customer Info:
External Company:  
External Customer Name: Mary
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Note, this also happens in CF11, verified it does not occur in Lucee. ColdFusion seems to be doing something other than just looking for normal URLEncoded characters, the percent sign by itself is causing some very anomalous behavior.
Comment by External U.
6262 | August 13, 2015 12:02:36 PM GMT
This is a silly bug and should be fixed.
Vote by External U.
6272 | August 13, 2015 12:42:05 PM GMT
I found a work around here. Typing Save Up To 30% on Orders results in Save Up To 30% o Orders. By adding an addition "n" Save Up To 30% onn Orders which results are corrected upon save.
Comment by External U.
6263 | August 13, 2015 12:42:13 PM GMT
Sorry, description should read "text strings" not "test strings". Basically if a percent sign isn't followed by other characters (i.e. 2 numbers), CF shouldn't be trying to decode it.
Comment by External U.
6264 | August 13, 2015 12:56:49 PM GMT
Bret - that's an end user "workaround" which may or may not always be possible and requires the user to notice that the data got messed up in the first place.
Comment by External U.
6265 | August 13, 2015 12:58:38 PM GMT
This is now marked as Fixed - what does that mean? Fixed in the next update? For CF10? CF11?? There's nothing listed in the Fixed in Build so why is there no comment in the notes about where the fix will be included?
Comment by External U.
6266 | September 23, 2015 08:52:19 AM GMT
Adobe please always populate "Fixed In Build"
Comment by External U.
6267 | September 23, 2015 01:20:23 PM GMT
[subscribe]
Comment by External U.
6268 | January 26, 2016 12:54:58 PM GMT
Just tested on CF11 update 7 and it's NOT fixed on there. Don't have CF10 available anymore for a quick test but I'm guessing if it's not fixed on CF11 it probably was not fixed on 10 either.
Comment by External U.
6269 | April 22, 2016 01:14:16 PM GMT
Hi Mary Jo, I've also verified it is -not- fixed in CF11 Update 7. However, I did verify it -is- fixed in CF2016. Took me 2 minutes to verify, but it's taking Adobe 7+ months to reply. Adobe, this is Mary Jo's ticket. It would've been courteous if you'd have replied back in September, 2015. And.. again.. Adobe please always populate "Fixed In Build" I shall continue to beat that drum ;) Thanks!, -Aaron
Comment by External U.
6270 | April 23, 2016 01:10:17 AM GMT
Hi All, Fix for Coldfusion 11 and Coldfusion 10 will be available in CF11 HF10 and CF10 HF20 update respectively . Thanks, Mukesh
Comment by Mukesh K.
6271 | May 11, 2016 06:00:52 AM GMT