Bug #14051 Updated: Invalid return in realpath if extra slash

From: Date: Fri, 17 May 2002 09:06:11 +0000
Subject: Bug #14051 Updated: Invalid return in realpath if extra slash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7910@lists.php.net to get a copy of this message
ID: 14051 Updated by: preston.bannister@cox.net Reported By: g.noel@symphonieonline.com Status: Bogus Bug Type: *Directory/Filesystem functions Operating System: Windows PHP Version: 4.0.6 New Comment: Note that "//tmp" or "\\tmp" looks like a UNC path (due to the // prefix), and therefore cannot be reduced. Previous Comments: ------------------------------------------------------------------------ [2001-11-20 10:39:33] g.noel@symphonieonline.com In my opinion it's not the same problem as bug #14049 !? ------------------------------------------------------------------------ [2001-11-14 04:56:53] sniper@php.net Update the #14049 bug report. DO NOT OPEN NEW REPORTS ABOUT SAME THING!! ------------------------------------------------------------------------ [2001-11-14 04:53:26] g.noel@symphonieonline.com <?php echo '['.realpath('//tmp').']'; ?> On Windows : [/\tmp] -> Correct : [c:\tmp] On Linux : [/tmp] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14051&edit=1

« previous php.bugs (#7910) next »