Bug #14051: Invalid return in realpath if extra slash
| From: | g dot noel at symphonieonline dot com | Date: | Wed, 14 Nov 2001 09:53:26 +0000 |
| Subject: | Bug #14051: Invalid return in realpath if extra slash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-70415@lists.php.net to get a copy of this message | ||
From: g.noel@symphonieonline.com
Operating system: Windows
PHP version: 4.0.6
PHP Bug Type: *Directory/Filesystem functions
Bug description: Invalid return in realpath if extra slash
<?php
echo '['.realpath('//tmp').']';
?>
On Windows : [/\tmp] -> Correct : [c:\tmp]
On Linux : [/tmp]
--
Edit bug report at: http://bugs.php.net/?id=14051&edit=1