diff --git a/src/namecheap/client.py b/src/namecheap/client.py index b266460..331d912 100644 --- a/src/namecheap/client.py +++ b/src/namecheap/client.py @@ -54,7 +54,7 @@ def _make_url(self, command, args): flat_args = "" for k, v in args.items(): - flat_args += "&{0}={1}".format(k, v) + flat_args += "&{0}={1}".format(k, urllib2.quote(str(v))) url = "{0}?ApiUser={1}&ApiKey={2}&UserName={3}&ClientIP={4}" \ "&Command={5}{6}".format(