PHP 4.0 Bug #6696 Updated: htmlentities does not encode apostrophe
| From: | Bug Database | Date: | Wed, 13 Sep 2000 06:01:11 +0000 |
| Subject: | PHP 4.0 Bug #6696 Updated: htmlentities does not encode apostrophe | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33089@lists.php.net to get a copy of this message | ||
ID: 6696
Updated by: rasmus
Reported By: jon+php-dev@unequivocal.co.uk
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
Fixed in CVS
Previous Comments:
---------------------------------------------------------------------------
[2000-09-12 22:42:14] derick@php.net
I'll have a look at it sometime.
---------------------------------------------------------------------------
[2000-09-12 20:58:45] eschmid@php.net
No comment!
---------------------------------------------------------------------------
[2000-09-12 20:54:22] jon+php-dev@unequivocal.co.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 ;-).
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6696