Add double quote to disallowed characters in entry

This commit is contained in:
Jason Lobo 2021-08-09 20:48:52 +01:00
parent 901ef2dd97
commit 80a83082ba

View file

@ -10,7 +10,7 @@ def search_results(entry, base_df, base_path, settings):
# Validate
if (entry.strip() == '' or (';' in entry and '+' in entry)
or any(x in entry for x in '.^$*?{}[]\\|()')
or any(x in entry for x in '.^$*?{}[]\\|()"')
or entry.replace(' ', '').replace('\t', '').isdigit()):
return []