Using urlencode "doseq" option for url args
parent
3e404cb524
commit
39c475af21
|
@ -134,8 +134,8 @@ class Filter:
|
||||||
|
|
||||||
# Remove original link query and replace with filtered args
|
# Remove original link query and replace with filtered args
|
||||||
query_link = query_link.replace(parsed_link.query, '')
|
query_link = query_link.replace(parsed_link.query, '')
|
||||||
if len(safe_args) > 1:
|
if len(safe_args) > 0:
|
||||||
query_link = query_link + urlparse.urlencode(safe_args)
|
query_link = query_link + urlparse.urlencode(safe_args, doseq=True)
|
||||||
else:
|
else:
|
||||||
query_link = query_link.replace('?', '')
|
query_link = query_link.replace('?', '')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue