mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 13:22:46 +00:00
Fix URLDecodeMapValues (#984)
* Update gomatrixserverlib * Fix URLDecodeMapValues * Update gomatrixserverlib
This commit is contained in:
parent
6d832ae544
commit
5071ecb8b3
3 changed files with 4 additions and 15 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue