Skip to content

Commit

Permalink
fix(search): Search not returning result if query text contains forwa…
Browse files Browse the repository at this point in the history
…rd slash
  • Loading branch information
si-chakraborty committed Jul 17, 2024
1 parent 3a72d92 commit 6d44508
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static <T> T bindArgument(Object argument, Class<T> clazz) {
@Nonnull
public static String escapeForwardSlash(@Nonnull String input) {
if (input.contains("/")) {
input = input.replace("/", "\\\\/");
input = input.replace("/", "\\/");
}
return input;
}
Expand Down

0 comments on commit 6d44508

Please sign in to comment.