ID: 4068 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Misbehaving function Operating System: Any PHP Version: 3.0.16 New Comment:
there's an additional parameter to htmlentites to control this behavior since php3.0.17 and php4.0.3 Previous Comments: ------------------------------------------------------------------------ [2000-04-07 10:57:24] [EMAIL PROTECTED] Script to reproduce problem: <img alt='<? echo htmlentities($foo) ?>'> Fix: Make it escape the "'" character too. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=4068&edit=1