ENG-1213 adds an interceptor to verify the max upload size of each re…#53
ENG-1213 adds an interceptor to verify the max upload size of each re…#53
Conversation
…quest and configure it using the file.upload.maxSize property
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
SonarCloud Quality Gate failed.
|
|
|
||
| private boolean isUploadMethod(HttpServletRequest request) { | ||
| HttpMethod method = HttpMethod.resolve(request.getMethod()); | ||
| return HttpMethod.POST.equals(method) || HttpMethod.POST.equals(method); |
There was a problem hiding this comment.
guess this was meant to be POST and PUT
please fix
…quest and configure it using the file.upload.maxSize property