PHP 4.0 Bug #6696 Updated: htmlentities does not encode apostrophe
| From: | Bug Database | Date: | Wed, 13 Sep 2000 01:32:03 +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-33049@lists.php.net to get a copy of this message | ||
ID: 6696
Updated by: stas
Reported By: jon+php-dev@unequivocal.co.uk
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[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