php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6696 htmlentities does not encode apostrophe
Submitted: 2000-09-12 20:54 UTC Modified: 2000-09-13 02:01 UTC
From: jon+php-dev at unequivocal dot co dot uk Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0 Latest CVS (12/09/2000) OS: N/A
Private report: No CVE-ID: None
 [2000-09-12 20:54 UTC] jon+php-dev at unequivocal dot co dot uk
We can play this game all day, guys.

I complain htmlspecialchars does not encode apostrophe, I'm told to use htmlentities instead. htmlentities doesn't do it. The arguments claimed against htmlspecialchars do not hold for htmlentities.

If you just close this without a good reason, you are quite blatantly doing so simply because I opened it, not because you think the function should not be changed. It's not big, and it's not clever ;-).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-12 20:58 UTC] eschmid@php.net
No comment!
 [2000-09-12 22:42 UTC] derick@php.net
I'll have a look at it sometime.
 [2000-09-13 02:01 UTC] rasmus@php.net
Fixed in CVS
 [2004-05-03 07:12 UTC] theblkking at hotmail dot com
Where can I find this fix?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 13:01:30 2024 UTC