[wp-trac] [WordPress Trac] #21981: Securing the uploads directory
WordPress Trac
noreply at wordpress.org
Sun Jun 25 07:15:26 UTC 2023
#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):
In correction to my last approach:
{{{#!php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^.*php.*$ - [F]
</IfModule>
}}}
to catch everything starting with .php
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21981#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list