mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
Fix URLDecodeMapValues
This commit is contained in:
parent
d85294c290
commit
1298973cd4
|
|
@ -24,7 +24,7 @@ import (
|
|||
func URLDecodeMapValues(vmap map[string]string) (map[string]string, error) {
|
||||
decoded := make(map[string]string, len(vmap))
|
||||
for key, value := range vmap {
|
||||
decodedVal, err := url.QueryUnescape(value)
|
||||
decodedVal, err := url.PathUnescape(value)
|
||||
if err != nil {
|
||||
return make(map[string]string), err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue