Fix URLDecodeMapValues (#984)

* Update gomatrixserverlib

* Fix URLDecodeMapValues

* Update gomatrixserverlib
This commit is contained in:
Neil Alexander 2020-04-28 12:50:49 +01:00 committed by GitHub
parent 6d832ae544
commit 5071ecb8b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 15 deletions

View file

@ -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
}