Skip to content

Commit

Permalink
Correct search queries containing colons (#9624)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch authored Feb 26, 2024
1 parent 27a0615 commit 3626414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/search/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def parse_search_query(clean_query):

for query_part in query_parts:
if ':' in query_part:
query_part_split = query_part.split(':')
query_part_split = query_part.split(':', 1)

operator = query_part_split[0]
parameter = query_part_split[1].strip()
Expand Down

0 comments on commit 3626414

Please sign in to comment.