From 0b29fcb48c89e10c340144aec8346680bfa73b68 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 29 Jul 2024 17:31:47 +0100 Subject: [PATCH] Missing argument --- daemon_get.py | 2 +- daemon_post.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon_get.py b/daemon_get.py index c44428c2a..d91003fe7 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -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)): diff --git a/daemon_post.py b/daemon_post.py index bc7f342a4..35e78fff0 100644 --- a/daemon_post.py +++ b/daemon_post.py @@ -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