[wp-trac] Re: [WordPress Trac] #4759: Blank index.php in wp-content
subdirs
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 17 13:42:26 GMT 2007
#4759: Blank index.php in wp-content subdirs
------------------------------------+---------------------------------------
Reporter: ozh | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.3 (trunk)
Component: Security | Version:
Severity: trivial | Resolution:
Keywords: index opendir security |
------------------------------------+---------------------------------------
Comment (by docwhat):
Would index.html be better than index.php? There would be no risk of any
code executing *ever* by accident.
Either way, there should be a comment explaining why the file is blank and
that it should be kept that way.
Alternatively, rewrite rules might be better, since you could redirect the
user to a legit page (like the root) in case they were walking up a URL.
Ciao!
--
Ticket URL: <http://trac.wordpress.org/ticket/4759#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list