Version: 0.12.7 (using 3.5.9 "release 49.1" , openSUSE 11.0) Compiler: Target: x86_64-suse-linux OS: Linux (x86_64) release 2.6.25.5-1.1-default kopete remember password does not seem to work if the password contains any characters other than digits or alphabets. This is the case with atleast yahoo and gmail(jabber) accounts. I tested this by changing the passwords to be purely alphanumeric, in which case, the passwords were remembered. But the moment I restored the passwords that contained non alphanumeric characters, I ran into the problem of incorrect password.
Same here with Kopete from KDE 4.
are you using kwallet or not?
I am using kwallet now, but the save password feature might not necessarily need me to use kwallet. It works with kwallet, but I would like to believe that if kwallet is not desired, then the password should get saved properly. Or it should not be allowed to be saved if kwallet is not being used.
*** Bug 224869 has been marked as a duplicate of this bug. ***
*** Bug 233974 has been marked as a duplicate of this bug. ***
Hi, the password and user name should be encoded before sending out. There's one function which needs to be modified like this: void LoginTask::sendAuthSixteenStage1(const QString& sn, const QString& seed) { const QString YahooTokenUrl = "https://login.yahoo.com/config/pwtoken_get?src=ymsgr&ts=&login=%1&passwd=%2&chal=%3"; kDebug(YAHOO_RAW_DEBUG) << "seed:" << seed; m_stage1Data.clear(); /* construct a URL from the seed and request tokens */ QString encodedPassword(QUrl::toPercentEncoding(client()->password())); QString encodedUser(QUrl::toPercentEncoding(sn)); QString fullUrl = YahooTokenUrl.arg(encodedUser, encodedPassword, seed); KUrl tokenUrl(fullUrl); KIO::Job* job = KIO::get(tokenUrl, KIO::Reload, KIO::HideProgressInfo); connect(job, SIGNAL(data(KIO::Job*, const QByteArray&)), this, SLOT(handleAuthSixteenStage1Data(KIO::Job*, const QByteArray&))); connect(job, SIGNAL(result(KJob*)), this, SLOT(handleAuthSixteenStage1Result(KJob*))); } I'll to attach a patch file. Alex
This works for Yahoo, other protocols might need to be for checked percent encoding too.
Created attachment 68412 [details] Modify the Yahoo login URL to percent encode username and password
SVN commit 1281263 by lvsouza: Modify the Yahoo login URL to percent encode username and password. Fixes kopete does not save passwords correctly if it contains symbols Thanks to Alex Dănilă for this patch. M +3 -2 logintask.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1281263
SVN commit 1281264 by lvsouza: Backport SVN commit 1281263 to the 4.8 branch: Modify the Yahoo login URL to percent encode username and password. Fixes kopete does not save passwords correctly if it contains symbols Thanks to Alex Dănilă for this patch. M +3 -2 logintask.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1281264
Is this fixed for all protocols? IIRC I have had this issue with MSN.
I use Kopete 4.8.0 with WLM protocol and password with non-alphanumeric characters. I can connect normally here. Actually, the only problem I had to connect in the past years was because of the server IP redirection Microsoft established in their servers some months ago.