url.QueryEscape fix2
This commit is contained in:
parent
a18920d818
commit
2420a73796
4
api.go
4
api.go
|
@ -121,10 +121,10 @@ func UrlEncode(s any) string {
|
||||||
} else {
|
} else {
|
||||||
rv += "?"
|
rv += "?"
|
||||||
}
|
}
|
||||||
rv += fmt.Sprintf("%s=%s", tag.FieldName, fmt.Sprint(val))
|
rv += fmt.Sprintf("%s=%s", tag.FieldName, url.QueryEscape(fmt.Sprint(val)))
|
||||||
rvCount++
|
rvCount++
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return url.QueryEscape(rv)
|
return rv
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue