php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53816 htmlspecialchars_decode() only works on lower case stuff
Submitted: 2011-01-22 16:10 UTC Modified: 2011-01-22 18:57 UTC
From: zelnaga at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.3.5 OS: Windows 7
Private report: No CVE-ID: None
 [2011-01-22 16:10 UTC] zelnaga at gmail dot com
Description:
------------
htmlspecialchars_decode() and html_entity_decode() only convert lower case entities.  eg. <, >, etc.  Upper case entities - <, >, etc - are ignored.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-22 18:57 UTC] scottmac@php.net
-Status: Open +Status: Bogus
 [2011-01-22 18:57 UTC] scottmac@php.net
entity names are case sensitive in the spec.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 04:00:03 2025 UTC