php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40200 The FastCgi version has different realpath results than thread safe version
Submitted: 2007-01-22 21:37 UTC Modified: 2007-01-23 18:15 UTC
From: iamstever at gmail dot com Assigned: dmitry (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 5.2.1RC3 OS: Windows Vista
Private report: No CVE-ID: None
 [2007-01-22 21:37 UTC] iamstever at gmail dot com
Description:
------------
The FastCgi version has different realpath results than thread safe version. If the file does not exist, realpath() returns false in Linux and Windows thread safe version, but returns the path to a non existent file in the Windows nts/FastCGI version.

Expected result:
----------------
If the file does not exist, realpath() returns false in Linux and Windows thread safe version, but returns the path to a non existent file in the Windows nts/FastCGI version.

Actual result:
--------------
false

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-23 15:11 UTC] pajoye@php.net
Confirmed:
C:\phpbuilds\php_5_2>Debug_TS\php.exe -r " var_dump(realpath('foo.txt'));"
bool(false)

C:\phpbuilds\php_5_2>Debug\php.exe -r " var_dump(realpath('foo.txt'));"
string(28) "C:\phpbuilds\php_5_2\foo.txt"


 [2007-01-23 18:15 UTC] dmitry@php.net
Fixed in CVS HEAD and PHP_5_2.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 04:01:31 2024 UTC