[WebKit-devel] [Bug 310230] New: Applying filters while ignoring their options blocks too many legitimate webpages.
Nikita Skovoroda
chalkerx at gmail.com
Fri Nov 16 21:12:28 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=310230
Bug ID: 310230
Severity: normal
URL: http://ckeditor.com
Version: 1.3.0
Priority: NOR
Assignee: webkit-devel at kde.org
Summary: Applying filters while ignoring their options blocks
too many legitimate webpages.
Classification: Unclassified
OS: Linux
Reporter: chalkerx at gmail.com
Hardware: Archlinux Packages
Status: UNCONFIRMED
Component: general
Product: kwebkitpart
See
https://projects.kde.org/projects/extragear/base/kwebkitpart/repository/revisions/master/entry/src/settings/webkit_filter.cpp#L241
This behaviour is very bad for rules such as
«.com/s$script,domain=example.org», and rules like that are included in
automatic filter subscriptions.
This rule is meant to block all urls matching «.com/s», when called from a
«<script>» tag from only the «example.org» domain.
But as it is now, it just blocks all urls matching «.com/s», which is just too
many.
Enabling automatic filters with kwebkitpart almost bricks konqueror as a
browser.
A possible solution would be to ignore all rules with options (that have a «$»
sign in it) untill they are propertly handled.
It's better to have some rules not working at all (and letting some ads through
the filter) than breaking even a minor part of legitimate pages.
Reproducible: Always
Steps to Reproduce:
1. Open Konqueror, configure it to use kwebkitpart.
2. Enable Adblock, add Morpeh Rus List + EasyList.
2. Open http://ckeditor.com/
Actual Results:
No styles are applied to the page (the *.css isn't loaded).
Expected Results:
The page should be rendered with all it's styles, stylesheet files should not
be blocked.
It's triggered by this rule:
> .com/s$script,domain=24warez.ru|cmexota.ru|demotivators.to|dir300.ru|eroox.ru|fivemusic.ru|imageban.ru|last.by|mp3prima.com|oplayer.org|plus100500.ru|privsex.ru|ru-admin.net|softsnew.ru|uptube.su|vodkov.net|vodvore.net|vseblidynas.ru|xxxlili.ru|xxx-story.ru|x-zona.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the WebKit-devel
mailing list