ID:               50366
 User updated by:  jerico dot dev at gmail dot com
 Reported By:      jerico dot dev at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Filesystem function related
 Operating System: Linux
 PHP Version:      5.2.11
 New Comment:

Reproduced with php5.2-200912022330 compiled on Ubuntu Jaunty


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

[2009-12-02 22:40:51] [email protected]

Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



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

[2009-12-02 22:07:41] jerico dot dev at gmail dot com

Description:
------------
realpath() doesn't resolve symlinks correctly when followed by /..

Reproduce code:
---------------
echo realpath('/home/user/test/app/lib/symlink/tests/../../..');

where "symlink" points to /home/user/test/something

Expected result:
----------------
/home/user/test/app

Actual result:
--------------
/home/user


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


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

Reply via email to