/rc/bin/rc-httpd/handlers/{dir-index, serve-static}: fix directory traversal bug (thanks, igor)
This commit is contained in:
parent
5ddff68167
commit
60ef662b98
1 changed files with 0 additions and 5 deletions
|
@ -19,11 +19,6 @@ fn do_error{
|
||||||
'
|
'
|
||||||
}
|
}
|
||||||
|
|
||||||
fn 400{
|
|
||||||
do_error '400 Bad Request' \
|
|
||||||
'The request was invalid.'
|
|
||||||
}
|
|
||||||
|
|
||||||
fn 401{
|
fn 401{
|
||||||
do_error '401 Unauthorized' \
|
do_error '401 Unauthorized' \
|
||||||
'The requested path '^$"location^' requires authorization.'
|
'The requested path '^$"location^' requires authorization.'
|
||||||
|
|
Loading…
Reference in a new issue