We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7130189 commit d8699c1Copy full SHA for d8699c1
1 file changed
geonode/indexing/api/filters.py
@@ -20,7 +20,7 @@ def as_sql(self, compiler, connection, function=None, template=None):
20
sql, params = super().as_sql(compiler, connection, function, template)
21
value = params[1]
22
# sanitize search string
23
- value = re.sub(r"[^0-9A-Za-z/_\.-]+", "", value)
+ value = re.sub(r"[^\w\s./\-]+", "", value, flags=re.UNICODE)
24
value = f"{value or '*'}:*"
25
return sql, [params[0], value]
26
0 commit comments