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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zelnaga at gmail dot com
New email:
PHP Version: OS:

 

 [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 03:00:02 2025 UTC