logoalt Hacker News

dataflow • today at 5:53 AM • 1 reply • view on HN

If I have a PHP site that doesn't require uploads, how exactly do I disable enough of multipart/form-data POST handling in PHP to mitigate this?


Replies

bulatb • today at 6:09 AM

Block it at your web server before it reaches PHP. Ctrl+F "nginx" or ".htaccess" in this thread for configs.