ID:               19201
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Reproducible crash
 Operating System: Digital Unix 4.0G
 PHP Version:      4.2.2
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2002-08-30 13:18:04] [EMAIL PROTECTED]

Forgot to say that I can not reproduce this with php 4.2.0-dev (march
7) or php 4.3.0-dev (august 25). They both show this result:

&"'<>

------------------------------------------------------------------------

[2002-08-30 13:15:55] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip



------------------------------------------------------------------------

[2002-08-30 13:09:37] [EMAIL PROTECTED]

The htmlspecialchars and htmlentities functions crash php(typical
"document contains no data" error) when called with the second
parameter, quote_style (ENT_COMPAT, ENT_QUOTES, ENT_NOQUOTES).

If called without the second parameter, these functions return the
expected results.

May be related to Bug #18048.

Sample Script:

<?php

$string = "&\"'<>";
$temp = htmlspecialchars($string,ENT_QUOTES);
echo $temp;

?>

Configuration Command:
'--with-apache=/usr/src/apache_1.3.26' '--with-mysql'
'--with-gd=/usr/local' '--with-freetype-dir=/usr/local'
'--with-t1lib=/usr/local' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--with-pdflib=/usr/local'
'--with-openssl=/usr/local/ssl' '--with-zlib-dir=/usr/local'
'--with-java=/usr/opt/java131' '--with-ldap=/usr/local'
'--with-imap=/usr/local/lib' '--with-mcrypt=/usr/local/lib/libmcrypt'
'--enable-track-vars' '--enable-ftp' '--enable-sockets'
'--enable-trans-sid'


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19201&edit=1

Reply via email to