tracker issue : CF-3566150

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

EncodeForHTML mangles strings containing %[0-F][0-F]

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Stephen Baker / Stephen Baker (Stephen Baker)

Created: 05/23/2013

Components: Security, General

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 286055

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 1

Problem Description:
The EncodeForHTML function sometimes does not produce the desired result.

Steps to Reproduce:
<CFOUTPUT>#EncodeForHTML('%Device%')#</CFOUTPUT>

Actual Result:
In code: &THORN;vice&#x25;
On Screen: Þvice%

Expected Result:
On Screen: %Device%

Any Workarounds:
Use HTMLEditFormat function.

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

Watson Bug ID:	3566150

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

Attachments:

Comments:

Passing true or false as the second parameter makes no difference in this case.
Comment by External U.
15316 | May 23, 2013 08:26:37 AM GMT
Should be fixed, CF seems to be doing too much here, and messing things up in the process. -- Adam
Vote by External U.
15317 | May 23, 2013 08:33:20 AM GMT