Skip to content

Commit

Permalink
Fix 2419 - Multipart form fields ignoring numeric data
Browse files Browse the repository at this point in the history
  • Loading branch information
san70sh committed Oct 20, 2023
1 parent d042972 commit 8c673f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ private void multiPartInternal(String name, Object value) {
if (name != null) {
map.put("name", name);
}
if(value instanceof Integer || value instanceof Float || value instanceof Double) {
if(value instanceof Number) {
value = value.toString();
}
if (value instanceof Map) {
Expand Down

0 comments on commit 8c673f2

Please sign in to comment.