Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Alexander Kwaschny / Alexander Kwaschny ()
Created: 07/09/2017
Components: Language, Functions
Versions: 2016
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: all /
Priority/Frequency: Normal / Most users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
Problem Description:
Function decodeForHtml() doesn't consider case of HTML entities, always resulting in the lower case variant.
Steps to Reproduce:
<cfset upperUmlautA = decodeForHtml("Ä")> <!--- expected Ä, got ä --->
<cfset lowerUmlautA = decodeForHtml("ä")> <!--- expected ä, got ä --->
Actual Result:
Lower case "ä" in both cases.
Expected Result:
Ä = Ä
ä = ä
Note: Affects all entities that have upper and lower case presentations. Probably related to a bug in the ESAPI library itself.
Attachments:
Comments: