Bug 42882

Summary: Would *love* pcre support for cookie management
Product: [Applications] konqueror Reporter: kerin
Component: kcookiejarAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kerin 2002-05-21 15:03:56 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kcookiejar
Version:           KDE 3.0.0 
Severity:          wishlist
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3
OS:                Linux
OS/Compiler notes: Not Specified

Hi

I think it would be enormously useful if the cookie filter had support for (preferably Perl-compatible) regular expressions. For example I could assert the following rule:

^ads?\..+        = Deny

in order to automatically refrain from accepting cookies from domains beginning with ad or ads.

To retain user-friendliness perhaps this support could be enabled/disabled per-rule with disabled being the default. Or maybe even for re support to be the default but only applicable to a rule if any char other than [0-9a-zA-Z\.\-] is present in the domain name - that would probably avoid confusion for less advanced users.

I realise that many people (particularly in a networked environment) would use junkbuster or some kind of proxy to form the basis of such filtering. Even so I believe that features such as these are what tend to positively differentiate the Unix experience from other systems and believe that this level of flexibility should still be available to KDE users who /require/ it.

Furthermore some kind of unobtrusive notification of blocked cookies would be nice (a feature that Micro$oft recently added to IE that is actually /useful/ ... :-).

Many thanks

--Kerin Millar

(Submitted via bugs.kde.org)
Comment 1 Philip Rodrigues 2006-08-05 12:34:00 UTC
Pretty much a dupe of 25053
Comment 2 Ernst Bachmann 2007-07-11 17:43:56 UTC
Also a regex match on the Cookie Name would be usefull, like to automatically deny all those Google "Don't be evil" Analytics spyware cookies...
Comment 3 David Faure 2008-06-30 23:43:08 UTC

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