mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
URL decode args
This commit is contained in:
parent
9b5d6c9745
commit
f392ce8ed7
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ func makeDownloadAPI(
|
||||||
util.SetCORSHeaders(w)
|
util.SetCORSHeaders(w)
|
||||||
// Content-Type will be overridden in case of returning file data, else we respond with JSON-formatted errors
|
// Content-Type will be overridden in case of returning file data, else we respond with JSON-formatted errors
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
vars := mux.Vars(req)
|
vars, _ := common.URLDecodeMapValues(mux.Vars(req))
|
||||||
Download(
|
Download(
|
||||||
w,
|
w,
|
||||||
req,
|
req,
|
||||||
|
|
Loading…
Reference in a new issue