|
@ -350,10 +350,10 @@ def parse_uri(uri): |
|
|
uri = urlparse(uri) |
|
|
uri = urlparse(uri) |
|
|
result = {'address': uri.netloc} |
|
|
result = {'address': uri.netloc} |
|
|
|
|
|
|
|
|
if uri.path.startswith('?'): |
|
|
if uri.query.startswith('?'): |
|
|
params = parse_qs(uri.path[1:]) |
|
|
params = parse_qs(uri.query[1:]) |
|
|
else: |
|
|
else: |
|
|
params = parse_qs(uri.path) |
|
|
params = parse_qs(uri.query) |
|
|
|
|
|
|
|
|
for k,v in params.items(): |
|
|
for k,v in params.items(): |
|
|
if k in ('amount', 'label', 'message'): |
|
|
if k in ('amount', 'label', 'message'): |
|
|