#6696 [Com]: htmlentities does not encode apostrophe

From: Date: Mon, 03 May 2004 05:12:49 +0000
Subject: #6696 [Com]: htmlentities does not encode apostrophe
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59151@lists.php.net to get a copy of this message
ID: 6696 Comment by: theblkking at hotmail dot com Reported By: jon+php-dev at unequivocal dot co dot uk Status: Closed Bug Type: *General Issues Operating System: N/A PHP Version: 4.0 Latest CVS (12/09/2000) New Comment: Where can I find this fix? Previous Comments: ------------------------------------------------------------------------ [2000-09-13 02:01:11] rasmus@php.net Fixed in CVS ------------------------------------------------------------------------ [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 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 ;-). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=6696&edit=1

« previous php.bugs (#59151) next »