Reject all php requests

main
Bob Mottram 2025-05-19 11:20:24 +01:00
parent fc556850fe
commit d37fcf9e2f
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def daemon_http_post(self) -> None:
return return
# php # php
if 'index.php' in self.path: if self.path.endswith('.php'):
print('POST HTTP Attempt to access PHP file ' + self.path) print('POST HTTP Attempt to access PHP file ' + self.path)
http_404(self, 146) http_404(self, 146)
return return