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

WordPress Trac noreply at wordpress.org
Thu Sep 27 19:59:32 UTC 2018


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

Comment (by Presskopp):

 2 years now :(  Here's a shorter/better(?) variant:

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

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


More information about the wp-trac mailing list