ref: 60ef662b98f05ae84a7e111eb5c0dee9b6be1d9a
parent: 5ddff681670a0090cab6486d467399d92dffbef6
author: glenda <glenda@9front.local>
date: Thu Mar 31 21:53:29 EDT 2022
/rc/bin/rc-httpd/handlers/{dir-index, serve-static}: fix directory traversal bug (thanks, igor)
--- a/rc/bin/rc-httpd/handlers/error
+++ b/rc/bin/rc-httpd/handlers/error
@@ -19,11 +19,6 @@
'
}
-fn 400{
- do_error '400 Bad Request' \
- 'The request was invalid.'
-}
-
fn 401{
do_error '401 Unauthorized' \
'The requested path '^$"location^' requires authorization.'