Index: bin/cros_gsdcurl.py |
diff --git a/bin/cros_gsdcurl.py b/bin/cros_gsdcurl.py |
index e046fe2795e84c20d90940d6f38c3e9606750f41..ed024f3fc40e3a5e1532a1c2cae08d8dea27b302 100755 |
--- a/bin/cros_gsdcurl.py |
+++ b/bin/cros_gsdcurl.py |
@@ -27,11 +27,11 @@ def Authenticate(): |
passwd = os.environ.get('GSDCURL_PASSWORD') |
if passwd is None: |
sys.stderr.write('Password: ') |
- passwd = urllib.quote_plus(getpass.getpass(prompt='')) |
+ passwd = getpass.getpass(prompt='') |
cmd = [ |
'curl', '--silent', 'https://www.google.com/accounts/ClientLogin', |
'-d', 'Email=' + username, |
- '-d', 'Passwd=' + passwd, |
+ '-d', 'Passwd=' + urllib.quote_plus(passwd), |
'-d', 'accountType=GOOGLE', |
'-d', 'source=Google-gsdcurl-ver1', |
'-d', 'service=cds', |