Bug #78400 [NEW]: Sym-linked files are not accessible

From: Date: Sun, 11 Aug 2019 16:41:16 +0000
Subject: Bug #78400 [NEW]: Sym-linked files are not accessible
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222182@lists.php.net to get a copy of this message
From: armin at v dot ieweg dot de Operating system: Windows 10 PHP version: Irrelevant Package: Built-in web server Bug Type: Bug Bug description:Sym-linked files are not accessible Description: ------------ I've already created an issue on Github, regarding their web-server. But it figured out that the issue also occures, when using the built-in web server nativley. What I did: > php -S localhost:8000 -t . PHP 7.2.19 Development Server started at Sun Aug 11 16:25:34 2019 Listening on http://localhost:8000 Document root is C:\Dev\test Press Ctrl-C to quit. [Sun Aug 11 16:25:39 2019] ::1:60634 [200]: /images/test/test.png I've started the server and requested an image which is a symlink to "../realfile.png" (which is still located within document root). The server response is 200 but with a content-length of 0. Regular files work normal. Here you find the original github issue: https://github.com/symfony/symfony/issues/33089 -- Edit bug report at https://bugs.php.net/bug.php?id=78400&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78400&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78400&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78400&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78400&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78400&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78400&r=support Expected behavior: https://bugs.php.net/fix.php?id=78400&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78400&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78400&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78400&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78400&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78400&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78400&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78400&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78400&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78400&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78400&r=mysqlcfg

« previous php.bugs (#222182) next »