ericzile / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Google Calendar API doesnt accept & in the password #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Simply create an account to fetch Calendar data from it and the password 
for that account must contain &.

I am getting the "Error=BadAuthentication" error from Google.

I have got the issue where is the problem.

string postData = GoogleAuthentication.Email + "=" + nc.UserName + "&"; 
                postData += GoogleAuthentication.Password + "=" + 
nc.Password + "&";  
                postData += GoogleAuthentication.Source + "=" + 
this.factory.ApplicationName + "&"; 
                postData += GoogleAuthentication.Service + "=" + 
this.factory.Service + "&"; 
                postData += GoogleAuthentication.AccountType; 

This is what you guys set in QueryAuthToken(NetworkCredential nc) method.

Please tell me a solution

Original issue reported on code.google.com by itsmekul...@gmail.com on 12 Feb 2007 at 5:42

GoogleCodeExporter commented 9 years ago

Original comment by fman...@gmail.com on 12 Feb 2007 at 2:54