Bug 230094 - Cookie list has invisible domain names
Summary: Cookie list has invisible domain names
Status: RESOLVED DUPLICATE of bug 151839
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.3.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 14:34 UTC by Guido Winkelmann
Modified: 2010-09-18 05:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot that illustates the invisible hostnames bug (67.54 KB, image/png)
2010-03-09 14:35 UTC, Guido Winkelmann
Details
Another screenshot, showing that, at the bottom, some domainnames are visible again (69.22 KB, image/png)
2010-03-09 14:37 UTC, Guido Winkelmann
Details
Empty domain name in cookie dialog (63.54 KB, image/png)
2010-05-23 22:10 UTC, Stefan Majewsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Winkelmann 2010-03-09 14:34:03 UTC
Version:            (using KDE 4.3.5)
Compiler:          gcc-Version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

The cookie list in Konqueror (Settings -> Configure Konqueror -> Cookies -> Management Tab) has invisible hostnames.

Near the bottom of the list, some of the hostnames are visible again.

I will try to attach a screenshot next that shows the problem.
Comment 1 Guido Winkelmann 2010-03-09 14:35:23 UTC
Created attachment 41477 [details]
Screenshot that illustates the invisible hostnames bug
Comment 2 Guido Winkelmann 2010-03-09 14:37:03 UTC
Created attachment 41478 [details]
Another screenshot, showing that, at the bottom, some domainnames are visible again
Comment 3 Guido Winkelmann 2010-03-09 14:38:44 UTC
As far as I remember, the ookie list used to work properly in KDE 4.3.3.

I will see how it looks like in 4.4.1 as soon as I get home today.
Comment 4 Guido Winkelmann 2010-03-25 01:29:59 UTC
No such problem is visible in 4.4.1
Comment 5 Stefan Majewsky 2010-05-23 22:10:20 UTC
Created attachment 43827 [details]
Empty domain name in cookie dialog

I'm having a possibly related problem on 4.4.3. The invisible hostname occurs in that dialog that pops up when cookies from an unknown site are recieved (see attached screenshot). I've set up a decline policy in this dialog, and now this policy shows up in my cookie rules list.

Might this have to do with the fact that the server I recieved the cookies from was running on a non-standard port (8080, see screenshot)? That's - as far as I can tell - the only difference from the usual case.
Comment 6 Maksim Orlovich 2010-06-06 18:18:30 UTC
I can confirm the port 8080 thing, at least.
Comment 7 Maksim Orlovich 2010-06-06 19:15:42 UTC
I think the original issue was resolved by these commits:
http://lists.kde.org/?l=kde-commits&m=123802505118255&w=2
http://lists.kde.org/?l=kde-commits&m=125482684530582&w=2

And the second one, the one that fixes the tab in question, is in 4.4.0, but not in 4.3.5. 

The 8080 issue has to do with how kcookiejar handles these --- it actually turns it into 8080:localhost or whatever (not sure of the rationale), and the decoding code freaks out on that and returns an empty string.
Comment 8 Dawit Alemayehu 2010-09-18 05:50:13 UTC
Marking this as duplicate bug# 151839 for the 8080 port issue. Everything else should be fixed as explained comment #7...

*** This bug has been marked as a duplicate of bug 151839 ***