diff options
author | glenda <glenda@9front.local> | 2022-04-01 01:53:29 +0000 |
---|---|---|
committer | glenda <glenda@9front.local> | 2022-04-01 01:53:29 +0000 |
commit | 60ef662b98f05ae84a7e111eb5c0dee9b6be1d9a (patch) | |
tree | 4ab3ca9859d69e259c2f802193b701e251bd3685 /rc | |
parent | 5ddff681670a0090cab6486d467399d92dffbef6 (diff) |
/rc/bin/rc-httpd/handlers/{dir-index, serve-static}: fix directory traversal bug (thanks, igor)
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/rc-httpd/handlers/error | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/rc/bin/rc-httpd/handlers/error b/rc/bin/rc-httpd/handlers/error index fa594a9f1..e0608a988 100755 --- a/rc/bin/rc-httpd/handlers/error +++ b/rc/bin/rc-httpd/handlers/error @@ -19,11 +19,6 @@ fn do_error{ ' } -fn 400{ - do_error '400 Bad Request' \ - 'The request was invalid.' -} - fn 401{ do_error '401 Unauthorized' \ 'The requested path '^$"location^' requires authorization.' |