[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 57235] Can't use non-US character in plain text IMAP passwords
From:       Carsten Burghardt <burghardt () kde ! org>
Date:       2004-05-31 12:32:07
Message-ID: 20040531123207.24721.qmail () ktown ! kde ! org
[Download RAW message or body]

------- 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic