Bug 143398

Summary: Allow cookie policies based on criteria other than domain
Product: [Applications] konqueror Reporter: Olivier Vitrat <ovit.debian>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: REPORTED ---    
Severity: wishlist CC: olivier.lahaye
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Olivier Vitrat 2007-03-23 18:26:24 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407090

I suggest that Konqueror (and/or other relevant KDE components) be able
to set HTTP cookie policies based on criteria other than the domain they
came from.

For instance, one could set a cookie policy to block all cookies whose
name matches the regular expression "__utm.*" to block cookies issued by
Urchin/Google Analytics.

Ideally, a cookie policy could also be more flexible in deciding what to
do with the cookie. For instance, Urchin/Google Analytics cookies matched
by the above rule could be accepted as session cookies only.
Comment 1 bruce.lilly 2007-04-29 19:15:59 UTC
Additional constraints (e.g. matching by regexp, expiration date, domain) should br processed before applying default policy, of course.  First accept/reject/ask ends tests, lack of rule match falls through to other tests, eventually to default policy.
Comment 2 Ernst Bachmann 2007-05-02 18:17:06 UTC
I'd love that feature. There are lots of sites where you have to accept the session cookie in order to do something usefull, but where you also receive lots of tracking-cookies (__utm*...) which I'd rather reject.

Settings like: "Accept session-cookies, reject cookies with validity > 1 year, reject cookies matching /^__ut/, ask otherwise" would save me lots of clicks.


Comment 3 Dawit Alemayehu 2010-09-20 23:58:06 UTC
*** Bug 131396 has been marked as a duplicate of this bug. ***