Skip to content

Commit

Permalink
Ensure that invalid parameters don't break things.
Browse files Browse the repository at this point in the history
  • Loading branch information
davebx committed Nov 13, 2015
1 parent 7c45bf1 commit 321b64d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ def parse_query_string( query_string ):
retval = {}
arguments = query_string.split( '&' )
for argument in arguments:
if '=' not in argument:
continue
key, value = argument.split( '=' )
retval[ key ] = value
return retval
Expand Down

0 comments on commit 321b64d

Please sign in to comment.