Skip to content

Commit

Permalink
Improved: Prevent URL parameters manipulation (OFBIZ-13147)
Browse files Browse the repository at this point in the history
Fixes previous commit MODULE is not module
  • Loading branch information
JacquesLeRoux committed Oct 23, 2024
1 parent 7c986a6 commit 166bbdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
if (queryString != null) {
queryString = URLDecoder.decode(queryString, "UTF-8");
if (UtilValidate.isUrl(queryString) || !SecuredUpload.isValidText(queryString, Collections.emptyList())) {
Debug.logError("For security reason this URL is not accepted", MODULE);
Debug.logError("For security reason this URL is not accepted", module);
throw new RuntimeException("For security reason this URL is not accepted");
}
}
Expand Down

0 comments on commit 166bbdf

Please sign in to comment.