Skip to content

Commit

Permalink
Fix multippart request not initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Nov 17, 2024
1 parent 2449683 commit 1819a49
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
package org.openmrs.web.xss;

import java.util.Enumeration;
import java.util.List;

import org.owasp.encoder.Encode;
import org.springframework.util.MultiValueMap;
Expand Down Expand Up @@ -69,4 +70,9 @@ public MultiValueMap<String, MultipartFile> getMultiFileMap() {
public Enumeration<String> getParameterNames() {
return getRequest().getParameterNames();
}

@Override
public List<MultipartFile> getFiles(String name) {
return getRequest().getFiles(name);
}
}

0 comments on commit 1819a49

Please sign in to comment.