summaryrefslogtreecommitdiff
path: root/ishtar_common/views_item.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/views_item.py')
-rw-r--r--ishtar_common/views_item.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py
index 1db0a84a4..0b0c61b86 100644
--- a/ishtar_common/views_item.py
+++ b/ishtar_common/views_item.py
@@ -499,6 +499,8 @@ def _parse_query_string(string, query_parameters, current_dct, exc_dct,
if len(string) != 1:
for reserved_char in RESERVED_CHAR:
string = string.replace(reserved_char, u"")
+ if not string:
+ return ""
if string.endswith(u'*'):
if len(string.strip()) == 1:
return u""