From kmail-devel Mon May 31 12:32:07 2004 From: Carsten Burghardt Date: Mon, 31 May 2004 12:32:07 +0000 To: kmail-devel Subject: [Bug 57235] Can't use non-US character in plain text IMAP passwords Message-Id: <20040531123207.24721.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kmail-devel&m=108600674322502 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=57235 burghardt kde org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From burghardt kde org 2004-05-31 14:32 ------- CVS commit by burghard: This utf8 check does not really work and as you can encode virtually anything in utf8 I do not see a problem to deactivate it. So fixed in kdepim 3.3. CCMAIL: 57235-done bugs kde org M +1 -11 imap4.cc 1.169 --- kdepim/kioslaves/imap4/imap4.cc #1.168:1.169 @ -1683,15 +1683,5 @ bool IMAP4Protocol::makeLogin () if (myAuth.isEmpty () || myAuth == "*") { - if (QString(myUser.utf8()) != myUser) - error(KIO::ERR_COULD_NOT_LOGIN, i18n("In IMAP clear text login, " - "only US-ASCII characters are possible. Please use a different " - "authentication method that your server supports or try to get a " - "different username.")); - else if (QString(myPass.utf8()) != myPass) - error(KIO::ERR_COULD_NOT_LOGIN, i18n("In IMAP clear text login, " - "only US-ASCII characters are possible. Please use a different " - "authentication method that your server supports or change your " - "password.")); - else if (!clientLogin (myUser, myPass, resultInfo)) + if (!clientLogin (myUser, myPass, resultInfo)) error(KIO::ERR_COULD_NOT_LOGIN, i18n("Unable to login. Probably the " "password is wrong.\nThe server replied:\n%1").arg(resultInfo)); _______________________________________________ KMail developers mailing list KMail-devel@kde.org https://mail.kde.org/mailman/listinfo/kmail-devel