방어로직 추가.........................................................

This commit is contained in:
cho
2026-02-26 15:03:50 +09:00
parent 0f05380cc2
commit 80bec96931
@@ -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);