Missing argument

main
Bob Mottram 2024-07-29 17:31:47 +01:00
parent 55fc741046
commit 0b29fcb48c
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ def daemon_http_get(self) -> None:
# php
if 'index.php' in self.path:
print('GET HTTP Attempt to access PHP file ' + self.path)
http_404(self)
http_404(self, 145)
return
if contains_invalid_chars(str(self.headers)):

View File

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