Re: note 8373 added to htmlspecialchars

From: Date: Sat, 09 Sep 2000 20:11:35 +0000
Subject: Re: note 8373 added to htmlspecialchars
References: 1 2  Groups: php.notes 
Request: Send a blank email to php-notes+get-4621@lists.php.net to get a copy of this message
Jon Ribbens writes: > Besides which (actually, htmlentities does encode single quotes - I have > added a note to its manual page to this effect), htmlspecialchars is not > achieving its specified aim (to encode characters which are 'special' to > HTML) unless it is escaping single quotes. You are partially correct. It did this in PHP 4 from July 25 to August 30, when the patch was revoked. The patch remains in PHP 3. I have corrected your note. -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.notes (#4621) next »