Ensure that invalid parameters don't break things.

This commit is contained in:
Dave B
2015-11-13 12:44:35 -05:00
parent 7c45bf13fa
commit 321b64d8dc
+2
View File
@@ -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