-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BAH-3884 | Add. Bump Java 11 -> 17, Spring 5.3 -> 6.0 #94
base: master
Are you sure you want to change the base?
Conversation
commonsMultipartResolver.setMaxUploadSize(getFileUploadMaxSize()); | ||
return commonsMultipartResolver; | ||
public StandardServletMultipartResolver multipartResolver() { | ||
return new StandardServletMultipartResolver(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rahu1ramesh Why are removing the configuration to set Max Upload File Size ?
e.printStackTrace(); | ||
throw e; | ||
} | ||
|
||
return null; | ||
} | ||
|
||
public static String escapeSql(String str) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is about protection against SQL Injection, then need to find a better way to do this. This does not take of hexa or other forms. Check one such implementation here
JIRA -> BAH-3884
In this PR, the following changes have been added: