mirror of https://gitlab.com/bashrc2/epicyon
Check for php extension
parent
ddc202dd01
commit
79aa8cccc3
|
@ -305,7 +305,7 @@ def daemon_http_get(self) -> None:
|
|||
return
|
||||
|
||||
# php
|
||||
if 'index.php' in self.path:
|
||||
if self.path.endswith('.php'):
|
||||
print('GET HTTP Attempt to access PHP file ' + self.path)
|
||||
http_404(self, 145)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue