reverted my USER/PASS quoting fix

svn path=/trunk/; revision=16148
This commit is contained in:
Jeffrey Stedfast
2002-03-13 21:55:53 +00:00
parent 84d68e4955
commit 7e221fcca9
2 changed files with 2 additions and 8 deletions

View File

@ -1,9 +1,3 @@
2002-03-13 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Quote
the USER and PASS arguments since some people have spaces in their
user-names and/or passwords.
2002-03-12 Jeffrey Stedfast <fejj@ximian.com>
* camel-digest-store.c (camel_digest_store_new): Now takes a url

View File

@ -469,8 +469,8 @@ pop3_try_authenticate (CamelService *service, const char *errmsg,
if (!service->url->authmech) {
/* pop engine will take care of pipelining ability */
pcu = camel_pop3_engine_command_new(store->engine, 0, NULL, NULL, "USER \"%s\"\r\n", service->url->user);
pcp = camel_pop3_engine_command_new(store->engine, 0, NULL, NULL, "PASS \"%s\"\r\n", service->url->passwd);
pcu = camel_pop3_engine_command_new(store->engine, 0, NULL, NULL, "USER %s\r\n", service->url->user);
pcp = camel_pop3_engine_command_new(store->engine, 0, NULL, NULL, "PASS %s\r\n", service->url->passwd);
} else if (strcmp(service->url->authmech, "+APOP") == 0 && store->engine->apop) {
char *secret, md5asc[33], *d;
unsigned char md5sum[16], *s;