Revision fb409531 lib/rapi/connector.py
b/lib/rapi/connector.py | ||
---|---|---|
26 | 26 |
|
27 | 27 |
# C0103: Invalid name, since the R_* names are not conforming |
28 | 28 |
|
29 |
import cgi |
|
30 | 29 |
import re |
30 |
import urlparse |
|
31 | 31 |
|
32 | 32 |
from ganeti import constants |
33 | 33 |
from ganeti import http |
... | ... | |
71 | 71 |
""" |
72 | 72 |
if "?" in uri: |
73 | 73 |
(path, query) = uri.split("?", 1) |
74 |
args = cgi.parse_qs(query)
|
|
74 |
args = urlparse.parse_qs(query)
|
|
75 | 75 |
else: |
76 | 76 |
path = uri |
77 | 77 |
query = None |
Also available in: Unified diff