aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2002-03-14 05:55:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-14 05:55:53 +0800
commit7e221fcca97b3afa44c67b45df905c61654d7b8c (patch)
treee71013d083930bc78bad2648a00803d4526113ce /camel
parent84d68e495549a6c14a730888e58ed6f24f4b017f (diff)
downloadgsoc2013-evolution-7e221fcca97b3afa44c67b45df905c61654d7b8c.tar.gz
gsoc2013-evolution-7e221fcca97b3afa44c67b45df905c61654d7b8c.tar.zst
gsoc2013-evolution-7e221fcca97b3afa44c67b45df905c61654d7b8c.zip
reverted my USER/PASS quoting fix
svn path=/trunk/; revision=16148
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/pop3/camel-pop3-store.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index badf46213d..febd54bee1 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -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
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index 37a33fec45..e441531c05 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -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;