取消form表单编码
This commit is contained in:
parent
80f3cd9732
commit
56b936ede3
@ -180,7 +180,7 @@ public class RestRemoteHandler implements InvocationHandler {
|
|||||||
* @param args
|
* @param args
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private MultiValueMap<String, Object> getFormVariableParams(Parameter[] parameters, Object[] args) throws UnsupportedEncodingException {
|
private MultiValueMap<String, Object> getFormVariableParams(Parameter[] parameters, Object[] args) {
|
||||||
MultiValueMap<String, Object> formVariableParamsMap = new LinkedMultiValueMap<>();
|
MultiValueMap<String, Object> formVariableParamsMap = new LinkedMultiValueMap<>();
|
||||||
for (int i = 0; i < parameters.length; i++) {
|
for (int i = 0; i < parameters.length; i++) {
|
||||||
Parameter parameter = parameters[i];
|
Parameter parameter = parameters[i];
|
||||||
@ -196,7 +196,7 @@ public class RestRemoteHandler implements InvocationHandler {
|
|||||||
if (arg == null) {
|
if (arg == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
formVariableParamsMap.add(variableName, URLEncoder.encode(arg.toString(), "UTF-8"));
|
formVariableParamsMap.add(variableName, arg.toString());
|
||||||
}
|
}
|
||||||
return formVariableParamsMap;
|
return formVariableParamsMap;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user