From 60ef662b98f05ae84a7e111eb5c0dee9b6be1d9a Mon Sep 17 00:00:00 2001 From: glenda Date: Fri, 1 Apr 2022 01:53:29 +0000 Subject: [PATCH] /rc/bin/rc-httpd/handlers/{dir-index, serve-static}: fix directory traversal bug (thanks, igor) --- rc/bin/rc-httpd/handlers/error | 5 ----- 1 file changed, 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.'