Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
[Outbrain] Split false MCB coverage
Browse files Browse the repository at this point in the history
Conflicts:
	src/chrome/content/rules/Outbrain.xml
  • Loading branch information
MB committed Aug 10, 2014
1 parent b60d653 commit 1d06a7b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 6 deletions.
21 changes: 21 additions & 0 deletions src/chrome/content/rules/Outbrain.com-falsemixed.xml
@@ -0,0 +1,21 @@
<!--
For rules not causing false/broken MCB, see Outbrain.xml.
-->
<ruleset name="Outbrain.com (false MCB)" platform="mixedcontent">

<target host="outbrain.com" />
<target host="blog.outbrain.com" />
<target host="www.outbrain.com" />


<rule from="^http://(?:www\.)?outbrain\.com/"
to="https://www.outbrain.com/" />

<!-- NB: secure.bluehoust.com throws 200 TOO FAT for large files.
wp-content/uploads/ is thus handled in Outbrain-mismatches.xml.
-->
<rule from="^http://blog\.outbrain\.com/wp-(content/(?:plugin|theme)|include)s/"
to="https://secure.bluehost.com/~outbrain/blog.outbrain.com/wp-$1s/" />

</ruleset>
29 changes: 23 additions & 6 deletions src/chrome/content/rules/Outbrain.xml
@@ -1,11 +1,34 @@
<!--
For rules causing false/broken MCB, see Outbrain.com-falsemixed.xml.
For problematic rules, see Outbrain-mismatches.xml.
Mixed content:
- css, on:
- www from www *
- Images, on:
- www from wp *
- www from www *
- Bugs on www from widgets *
* Secured by us
-->
<ruleset name="Outbrain (partial)">

<target host="outbrain.com" />
<target host="*.outbrain.com" />
<!--
Avoid false/broken MCB:
-->
<!--exclusion pattern="^http://blog\.outbrain\.com/" /-->
<exclusion pattern="^http://(?:www\.)?outbrain\.com/+(?!wp-content/|wp-includes/)" />


<securecookie host="^\w+\.outbrain\.com$" name=".*" />
Expand All @@ -15,12 +38,6 @@
<rule from="^https?://(?:www\.)?outbrain\.com/"
to="https://www.outbrain.com/" />

<!-- NB: secure.bluehoust.com throws 200 TOO FAT for large files.
wp-content/uploads/ is thus handled in Outbrain-mismatches.xml.
-->
<rule from="^https?://blog\.outbrain\.com/wp-(content/(?:plugin|theme)|include)s/"
to="https://secure.bluehost.com/~outbrain/blog.outbrain.com/wp-$1s/" />

<!-- widgets: included on 3rd-party websites. -->
<rule from="^http://(u|widgets|images|paid|traffic)\.outbrain\.com/"
to="https://$1.outbrain.com/" />
Expand Down

0 comments on commit 1d06a7b

Please sign in to comment.