[PATCH] kcookiejar
Thiago Macieira
thiago.macieira at kdemail.net
Fri May 21 20:42:33 BST 2004
Waldo Bastian wrote:
>> Because the actual domain in the cookie is stored as
>> ".slashdot.org", but kcookiejarrc contains "slashdot.org". I added
>> some debug output and saw that the ".slashdot.org" entry is set to 0
>> (KCookieDunno) and the "slashdot.org" entry to (1) KCookieAccept.
>> But line 348 only sets the site policy, if it is something other
>> than KCookieDunno. The next if statement then rejects the cookie for
>> ".slashdot.org" , because the global policy is set to Reject (line
>> 354).
>>
[snip]
>
>The problem is that leading dots are stripped.
>
>r1.11 of kidna.cpp is responsible for that. Seems Thiago still hasn't
> fixed that.
I still hold that that's the wrong place to apply the patch, since
domain names cannot start with a dot -- it would mean an empty domain
part, which is not allowed.
But I will apply a workaround (I can't call it a fix, sorry) if that's
what you think is best.
--
Thiago Macieira - Registered Linux user #65028
thiago (AT) macieira (DOT) info
ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040521/1901ec37/attachment.sig>
More information about the kfm-devel
mailing list