mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 11:22:10 +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
|
||||
default:
|
||||
return http.StatusNotFound, nil
|
||||
return http.StatusBadRequest, nil
|
||||
}
|
||||
|
||||
// Write the file
|
||||
|
Loading…
x
Reference in New Issue
Block a user