ID: 50366 Updated by: [email protected] Reported By: jerico dot dev at gmail dot com -Status: Open +Status: Feedback -Bug Type: *Directory/Filesystem functions +Bug Type: Filesystem function related Operating System: Linux PHP Version: 5.2.11 New Comment:
Please try using this snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [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
