]> spindle.queued.net Git - midori/commit
Handle https:// URIs in Adblock properly
authorChristian Dywan <christian@twotoasts.de>
Mon, 5 Apr 2010 21:20:45 +0000 (23:20 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 6 Apr 2010 00:41:29 +0000 (02:41 +0200)
commit95358acc820c532722b779b9708b7b2511369fd2
tree655060f09ea096a1c013425beb37d3543a4c58ef
parent51b1f8740070104f531cb3725de9507010fd1d29
Handle https:// URIs in Adblock properly

We mark URIs as 'disabled' by replacing the : with a -. This
fails if there is an https:// URI and we want to restore it.

For clarity, the macros ADBLOCK_FILTER_SET and
ADBLOCK_FILTER_IS_SET are introduced to handle the details.
extensions/adblock.c