Bug 192422 - HTTP kioslave doesn't use password supplied in the URL (eg. http://user:password@host/...)
Summary: HTTP kioslave doesn't use password supplied in the URL (eg. http://user:passw...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: http (show other bugs)
Version: 4.2.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Hartmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-12 12:25 UTC by Matthias Brandt
Modified: 2009-07-21 00:54 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Brandt 2009-05-12 12:25:12 UTC
Version:           0.4 (using KDE 4.2.3)
OS:                Linux
Installed from:    Ubuntu Packages

When Choqok wants to establish the first connection to twitter, it asks me for my password ("Authorization Dialog"). I enter Username and Password and hit the button "Remember password". On next startup Choqok didn't remember the password and I will be asked again.
Comment 1 Mehrdad Momeny 2009-05-12 16:19:22 UTC
Does KWallet is enabled there?
Choqok uses KWallet to store passwords!
Comment 2 Matthias Brandt 2009-05-12 18:03:11 UTC
No, KWallet is not enabled. But it would be nice if it's stored anyway :-)
Comment 3 Mehrdad Momeny 2009-05-15 12:19:56 UTC
I think that it's KIO lib problem/bug.

Because Choqok already save the credentials (at config file)! and set them on url for request! but kde deamon or something else asks them again! :-/

The microblog and twitter plasmoids have this problem too.
Comment 4 Christophe Marin 2009-05-15 12:23:13 UTC
reassign.
Comment 5 Dario Andres 2009-05-18 23:38:23 UTC
I wonder if bug 192625 could be related to this. 
Regards
Comment 6 Mehrdad Momeny 2009-05-20 19:06:28 UTC
More technical info:

I set The Username/Password for a GET/POST request to KUrl url via KUrl::setUser() KUrl::setPass() 
The result is something like: http://USER:PASS@domain.com/
And then do a KIO::get/http_post/... , But I see an Authorization Dialog to enter the credentials again, 
So, the credentials already sets to url aren't used!
Comment 7 Andreas Hartmetz 2009-05-27 15:44:50 UTC
Yeah, probably something for me...
Comment 8 xdmx 2009-06-05 23:06:48 UTC
here is working, it keeps the passwords (0.6 version), it ask for the kwallet password and then access to them. But the big annoiance is that it ask the kwallet password a lot of times, the first one when opened, then after a while it ask it again, and again, and again (i've 2 wallets, one for local and one for remote passwords, it ask for the local when opened, and for the remote password the other times)
Comment 9 Michael Leupold 2009-07-04 17:13:55 UTC
This is specific to the http kioslave. As far as I know other kioslaves use this information. I made a preliminary patch for it:
http://reviewboard.kde.org/r/937/
Comment 10 Michael Leupold 2009-07-21 00:54:48 UTC
Just committed the fix. Unfortunately it might only make it into KDE 4.4.