[php-src] Issue #8014: http_response_code(400) in file_exists bug when using variable (in if block)

From: Date: Mon, 31 Jan 2022 23:30:05 +0000
Subject: [php-src] Issue #8014: http_response_code(400) in file_exists bug when using variable (in if block)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239385@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8014 Comment Author: iluuu1994 @ReturnMe Your previous edit said u was index, which would explain why file_exists(... $_GET['u'] . '.php') would return true. This would indicate that most likely something with your Apache configuration isn't ok and your $_GET params are getting lost. You can check by var_dump($_GET); at the top of your script and opening an URL with ?foo=bar.

« previous php.bugs (#239385) next »