tracker issue : CF-4199030

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

decodeForHtml doesn't consider case

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Alexander Kwaschny / Alexander Kwaschny ()

Created: 07/09/2017

Components: 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("&Auml;")> <!--- expected Ä, got ä --->
	<cfset lowerUmlautA = decodeForHtml("&auml;")> <!--- expected ä, got ä --->

Actual Result:
Lower case "ä" in both cases.

Expected Result:
&Auml; = Ä
&auml; = ä

Note: Affects all entities that have upper and lower case presentations. Probably related to a bug in the ESAPI library itself.

Attachments:

Comments:

The similar issue has already been logged with the bug ID: CF-4156505. Will be tracking it as part of that bug. Hence closing the bug as duplicate.
Comment by S P.
516 | July 24, 2017 05:42:58 AM GMT