Skip to content

Commit 285f7c9

Browse files
authored
fix: add slash in DEFAULT_ESCAPED_CHARS (#312) (#376)
1 parent 551429c commit 285f7c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aredis_om/model/token_escaper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TokenEscaper:
99

1010
# Characters that RediSearch requires us to escape during queries.
1111
# Source: https://redis.io/docs/stack/search/reference/escaping/#the-rules-of-text-field-tokenization
12-
DEFAULT_ESCAPED_CHARS = r"[,.<>{}\[\]\\\"\':;!@#$%^&*()\-+=~\ ]"
12+
DEFAULT_ESCAPED_CHARS = r"[,.<>{}\[\]\\\"\':;!@#$%^&*()\-+=~\/ ]"
1313

1414
def __init__(self, escape_chars_re: Optional[Pattern] = None):
1515
if escape_chars_re:

0 commit comments

Comments
 (0)