ID:               43692
 Updated by:       [EMAIL PROTECTED]
 Reported By:      karol at babioch dot de
-Status:           Assigned
+Status:           Feedback
 Bug Type:         *Directory/Filesystem functions
 Operating System: Windows XP Professional
 PHP Version:      5.2.5
 Assigned To:      helly
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi




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

[2007-12-27 19:40:19] karol at babioch dot de

Description:
------------
The HTML code which is produced by an Exception thrown by the
DirectoryIterator gets converted to HTML entities, meaning the link is
not shown nor clickable.

Reproduce code:
---------------
<?php

error_reporting(E_ALL|E_STRICT);

// directory mustn't exist
$dir = new DirectoryIterator('xyz');

?>

Expected result:
----------------
<br />
<b>Fatal error</b>:  Uncaught exception 'RuntimeException' with message
'DirectoryIterator::__construct(xyz) [<a
href='function.DirectoryIterator---construct'>;function.DirectoryIterator---construct</a>;]:
failed to open dir:

Actual result:
--------------
<br />
<b>Fatal error</b>:  Uncaught exception 'RuntimeException' with message
'DirectoryIterator::__construct(xyz) [&lt;a
href='function.DirectoryIterator---construct'&gt;function.DirectoryIterator---construct&lt;/a&gt;]:
failed to open dir:




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


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

Reply via email to