Re: PHP 4.0 Bug #6696 Updated: htmlentities does not encode apostrophe

From: Date: Tue, 12 Sep 2000 12:37:14 +0000
Subject: Re: PHP 4.0 Bug #6696 Updated: htmlentities does not encode apostrophe
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-33084@lists.php.net to get a copy of this message
> The problem with that, is that as of the current CVS, the single quote > character is no longer encoded in the htmlentities() function (see editors > note at bottom of documentation - I've not checked it). This change is > likely to break many many web pages. htmlentities and htmlspecialchars were changed at the same time. There are no legacy issues here. The simple answer is that escaping quotes needs to be an optional second-arg toggle on these functions. That let's them be backward compatible because despite what Jon says, some very large systems broke when we released 4.0.2 with the changed versions of these functions. -Rasmus

« previous php.dev (#33084) next »