Skip to content

Commit

Permalink
case-insensitive redirect search (#56)
Browse files Browse the repository at this point in the history
* case-insensitive redirect search
  • Loading branch information
Jan-Hendrik Popp authored Nov 1, 2021
1 parent aa5ce0f commit e895ffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ private void updateBooleanProperty(Supplier<Boolean> supplier, String propertyNa
}

private String getSourceQuery(String search, boolean exactMatch) {
String escaped = ClientUtils.escapeQueryChars(StringUtils.trim(search));
String escaped = ClientUtils.escapeQueryChars(search.toLowerCase().trim());
return exactMatch ? "source:" + escaped : "source:*" + escaped + "*";
}

Expand Down

0 comments on commit e895ffa

Please sign in to comment.