harini-nagarajan-5578 / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
Other
3 stars 0 forks source link

HTMLEntityCodec.getNamedEntity not case sensitive #274

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.System.out.println(ESAPI.encoder().encodeForHTML(ESAPI.encoder().decodeForHTML
("Α α")));

What is the expected output? What do you see instead?
Expected: Α α
Seen: α α

What version of the product are you using? On what operating system?
esapi-2.0.1

Please provide any additional information below.
Better to create possible string using given characters, then if no match is 
found, convert to lower case and try again.  

Original issue reported on code.google.com by mike.til...@gmail.com on 26 Jun 2012 at 4:18