방어로직 추가.........................................................
This commit is contained in:
+4
-2
@@ -968,9 +968,11 @@ public class HttpClient5AdapterServiceRest extends HttpClient5AdapterServiceSupp
|
||||
JSONObject jsonObject = (JSONObject) eaiBody;
|
||||
|
||||
for (Object key : jsonObject.keySet()) {
|
||||
//String encryptedValue = encrypt((String) jsonObject.get(key)); // encrypt by jwhong
|
||||
//params.add(new BasicNameValuePair((String) key, encryptedValue ));
|
||||
|
||||
if( jsonObject.get(key) instanceof String ) {
|
||||
params.add(new BasicNameValuePair((String) key, (String) jsonObject.get(key)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
UrlEncodedFormEntity entity = new UrlEncodedFormEntity(params, StandardCharsets.UTF_8);
|
||||
|
||||
Reference in New Issue
Block a user