[wp-trac] [WordPress Trac] #21981: Securing the uploads directory

WordPress Trac noreply at wordpress.org
Sat Aug 20 02:11:21 UTC 2016


#21981: Securing the uploads directory
-------------------------+------------------------------
 Reporter:  japh         |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Upload       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------

Comment (by Presskopp):

 Ok, afaik now, we don't need the .phtml part. And so this looks like a
 good solution to me now:

 {{{
 <IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteRule \php[0-9]?[0-9]?$ - [F]
 </IfModule>
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21981#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list