Skip to content

Commit

Permalink
Filter queries for markup.
Browse files Browse the repository at this point in the history
  • Loading branch information
hcayless committed Aug 27, 2024
1 parent f857ef8 commit 7d51a6a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ public Boolean addConstraints(Map<String, String[]> params) {

String param = java.net.URLDecoder.decode(values[i], "UTF-8");

if (param != null && !param.equals("default") && !param.equals("")) {
if (param != null && !param.equals("default") && !param.equals("")
&& !param.contains("<") && !param.contains(">") && !param.contains(";")) {
addConstraint(param);
hasConstraint = true;
}
Expand Down

0 comments on commit 7d51a6a

Please sign in to comment.