mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 19:22:57 +00:00
return bad request #25
This commit is contained in:
parent
4e212fe2a5
commit
c7798814ea
@ -52,7 +52,7 @@ func POST(w http.ResponseWriter, r *http.Request, c *config.Config, filename str
|
|||||||
|
|
||||||
file = f
|
file = f
|
||||||
default:
|
default:
|
||||||
return http.StatusNotFound, nil
|
return http.StatusBadRequest, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write the file
|
// Write the file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user