Bug 163774 - Questions about domain name policies in /usr/share/apps/khtml/domain_info
Summary: Questions about domain name policies in /usr/share/apps/khtml/domain_info
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: kcookiejar (show other bugs)
Version: 3.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 11:40 UTC by Stéphane Bortzmeyer
Modified: 2012-06-18 18:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Bortzmeyer 2008-06-11 11:40:40 UTC
Version:            (using KDE 3.5.9)
Installed from:    Ubuntu Packages
OS:                Linux

Konqueror has a file named /usr/share/apps/khtml/domain_info which, on
my system, contains:

twoLevelTLD=name,ai,au,bd,bh,ck,eg,et,fk,il,in,kh,kr,mk,mt,na,np,nz,pg,pk,qa,sa,sb,sg,sv,ua,ug,uk,uy,vn,za,zw

I do not find where it is documented, I assume it is maintained by
hand and is related to cookie policy.

1) Can you explain what this file is for and what precise criteria are
   used to be included in it?

2) Some TLD like ".fr" (for which I work) but also ".af", ".dz", etc,
   register both in the TLD and in subdomains. How is it handled?

3) How is this file maintained? Suppose we open ".pm" (which we,
   AFNIC, also manage) tomorrow with a "2 level" policy, how long will
   it take for this information to arrive in every Konqueror?
Comment 1 Christophe Marin 2008-06-11 12:44:29 UTC
This is not a bug and will be closed. Please send an email to kfm-devel@kde.org.
Comment 2 Stéphane Bortzmeyer 2008-06-19 09:50:32 UTC
I disagree, it is a bug, ".fr" is not in the list, while it has registration at second-level (such as "com.fr" or "tm.fr").

[I sent an email kfm-devel@kde.org but got only one reply, indicating <http://www.westpoint.ltd.uk/advisories/wp-04-0001.txt>]
Comment 3 Stéphane Bortzmeyer 2008-06-19 09:53:32 UTC
Reopening because the original report was probably not clear enough. The actual list is wrong and should be fixed.

Besides, it is questionable to ship Konqueror with a hardwired list of TLD.
Comment 4 Dawit Alemayehu 2011-12-31 02:01:02 UTC
That file is used by the cookiejar. At the time it was meant to address the issues in the specified advisory. However, it is mostly useless these days since the changes in how TLD names as registered. The cookiejar handler will have to be modified at some point in the future to reflect that.
Comment 5 Myriam Schweingruber 2012-06-18 18:25:34 UTC
Message from the Bugsquad and Konqueror teams:
This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore.
If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report.
Thank you for your understanding.