Skip to content

Commit a70a3f8

Browse files
committed
don't parse filename arguments
1 parent b023170 commit a70a3f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/philologic/runtime/WSGIHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def __init__(self, environ, config):
9696
if db.locals["metadata_sql_types"][field] not in ("int", "date") and isinstance(
9797
self.cgi[field][0], str
9898
):
99-
if not self.cgi[field][0].startswith('"'):
99+
if not self.cgi[field][0].startswith('"') and field != "filename":
100100
self.cgi[field][0] = query_parse(self.cgi[field][0], config)
101101
# these ifs are to fix the no results you get when you do a
102102
# metadata query

0 commit comments

Comments
 (0)