tracker issue : CF-3125862

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

decodeForHTML()

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 02/28/2012

Components: Language, Functions

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Public Beta / 281784

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Since HTMLEditFormat and HTMLCodeFormat cannot be updated b/c it'd break backward-compat w/ DecodeHTMLFormat UDFs that people wrote (b/c CF doesn't have this "undo" function), then ESAPI's DecodeForHTML() should be added.

Most important reason is to allow updatability of EncodeForHTML by Adobe in the future. (we don't want existence of UDFs to prevent updating EncodeForHTML, like it's preventing updating the existing 2 functions).

As far as use cases, there must be plenty if people are using their own UDFs and that has prevented updating of the 2 existing functions.

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

Watson Bug ID:	3125862

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

Related thread: http://prerelease.adobe.com/r/?7b9f01244c0dDVARUD-4179865ac28d9e6e120b
Comment by External U.
20501 | February 28, 2012 11:08:34 PM GMT
Functions Bug Number:CF-3125857 Reviewer: Kiran Description: Added new encoding and decoding functions. String EncodeForXML(String, [strict]) - Encodes the given input string for XML. throws exception for mixed/multiple encoding if strict is true String DecodeforHTML(String encodedinput) - Decode the given html encoded string String DecodeFromURL(String encodedinput) - Decode the given URL encoded string Smokes Passed: Yes Note for QA: yes, please add new tests. Note for Doc: yes, new methods added please add documentation Note for IDE: yes, new methods added Wiki updated: yes (Comment added from ex-user id:shilpik)
Comment by Adobe D.
20502 | March 08, 2012 12:16:10 AM GMT
Verified this is fixed in CF10 Final (build 10,282462). Thanks! -Aaron
Comment by External U.
20503 | May 27, 2012 02:34:00 AM GMT