🐛 fix #527 189 upload file name contains %

pull/548/head
Xhofe 2022-02-13 13:03:34 +08:00
parent 5c42354b01
commit 7bb237d0ef
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ func EncodeParam(v url.Values) string {
}
func encode(str string) string {
str = strings.ReplaceAll(str, "%", "%25")
str = strings.ReplaceAll(str, "&", "%26")
str = strings.ReplaceAll(str, "+", "%2B")
return str