diff --git a/drivers/189/util.go b/drivers/189/util.go index 9e84f03a..dd79ae76 100644 --- a/drivers/189/util.go +++ b/drivers/189/util.go @@ -115,12 +115,18 @@ func EncodeParam(v url.Values) string { } buf.WriteString(k) buf.WriteByte('=') - buf.WriteString(strings.ReplaceAll(v, "&", "%26")) + buf.WriteString(encode(v)) } } return buf.String() } +func encode(str string) string { + str = strings.ReplaceAll(str, "&", "%26") + str = strings.ReplaceAll(str, "+", "%2B") + return str +} + func AesEncrypt(data, key []byte) []byte { block, _ := aes.NewCipher(key) if block == nil {