summaryrefslogtreecommitdiff
path: root/rc/bin
diff options
context:
space:
mode:
authorglenda <glenda@9front.local>2022-04-01 01:53:29 +0000
committerglenda <glenda@9front.local>2022-04-01 01:53:29 +0000
commit60ef662b98f05ae84a7e111eb5c0dee9b6be1d9a (patch)
tree4ab3ca9859d69e259c2f802193b701e251bd3685 /rc/bin
parent5ddff681670a0090cab6486d467399d92dffbef6 (diff)
/rc/bin/rc-httpd/handlers/{dir-index, serve-static}: fix directory traversal bug (thanks, igor)
Diffstat (limited to 'rc/bin')
-rwxr-xr-xrc/bin/rc-httpd/handlers/error5
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.'