ID: 43692
Updated by: [EMAIL PROTECTED]
Reported By: karol at babioch dot de
-Status: Open
+Status: Assigned
Bug Type: *Directory/Filesystem functions
Operating System: Windows XP Professional
PHP Version: 5.2.5
-Assigned To:
+Assigned To: helly
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) [<a
href='function.DirectoryIterator---construct'>function.DirectoryIterator---construct</a>]:
failed to open dir:
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43692&edit=1