Hacker News new | ask | show | jobs
by 6510 43 days ago
.htaccess

    <If "req('Content-Type') =~ /multipart/i">
        Require all denied
    </If>
1 comments

This appears to have global effect if placed in a <Location> block in the root apache2.conf:

  # PHP 20261020 Remediation (Global)
  <Location />
    <If "req('Content-Type') =~ /multipart/i">
        Require all denied
    </If>
  </Location>