Not a bug name a thread after a php file name

Nice find Adam, does it have to be the exact name and is it Windows / Linux specific ?.

It's going to be fairly rare that someone will name a thread like that, but needs fixing
 
Just tested it on my dev install too and not happening there.

I don't have admin.php .htaccess protected though - would that make a difference? Anyone able to test whether .htaccess makes a difference or not?
 
Tested on my live site with .htaccess blocking all

Code:
<Files "admin.php">
Order Deny,Allow
Deny from all
</Files>

and also requesting valid user

Code:
AuthName "If you aren't Matt...."
AuthType Basic
AuthUserFile /home/z22se/.htpasswd
<FilesMatch "admin.php">
require valid-user
</FilesMatch>

Can't reproduce.
 
Top Bottom