Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #37 from zcode/master

Simple escape oversight in source ID used in Gogole Auth
  • Loading branch information...
commit caedc9b0b8ee21d4ed844588704f2970cb53825e 2 parents fb20a3f + 406d274
@akrennmair authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/google_api.cpp
View
2  src/google_api.cpp
@@ -84,7 +84,7 @@ std::string googlereader_api::retrieve_auth() {
char * username = curl_easy_escape(handle, user.c_str(), 0);
char * password = curl_easy_escape(handle, pass.c_str(), 0);
- std::string postcontent = utils::strprintf("service=reader&Email=%s&Passwd=%s&source=%s/%s&accountType=HOSTED_OR_GOOGLE&continue=http://www.google.com/",
+ std::string postcontent = utils::strprintf("service=reader&Email=%s&Passwd=%s&source=%s%2F%s&accountType=HOSTED_OR_GOOGLE&continue=http://www.google.com/",
username, password, PROGRAM_NAME, PROGRAM_VERSION);
curl_free(username);
Please sign in to comment.
Something went wrong with that request. Please try again.