[Evolution-hackers] Problem with Evo 1.2.2 LOGIN command



I recently upgraded one of my systems to red hat 9, which meant
switching from Evolution 1.0.8 to 1.2.2. Evolution 1.2.2 refused to log
in to my IMAP server (courier-imap 1.7.1), gave the error "Error in IMAP
command received by server". I did some work, wrote a program to
intercept and print the stream between client and server (I couldn't use
the CAMEL-VERBOSE-DEBUG=1 trick because I suspected the problem was in
the LOGIN command, most of which is covered up when you use this).

Anyway, found that the different was in quoting the arguments. 1.0.8 was
sending:
    LOGIN "wms" "password-for-wms"
While 1.2.2 was sending:
    LOGIN wms password-for-wms
I checked the IMAP RFC and found that there was no reason to quote my
username, so 1.2.2 is right so far, but my password contains a character
that the RFC states must be quoted. To be more accurate, my password
contains a "{" character...time for me to make a new one anyway, I may
as well say this. :-)

Anyway, evolution 1.2.2 was not quoting my password, even though it
contains a { which by the RFC must be quoted, so courier-imap was
properly refusing to accept the LOGIN command. I looked at the source
code to 1.2.2 in camel-imap-*, it looks like it should quote in this
case - the code looks well written and very readable by the way,
congrats to Stedfast & Winship. Anyway, despite the code that looks like
evolution it should work, somehow the password isn't getting quoted.

To sum it up: Is this a known problem? Is there a known fix? If this is
new, then any help I can give is fine. For now, I'll switch to a
password that doesn't have any "must be quoted" characters, but this is
obviously not the best solution!!!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]