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

Commit

Permalink
[Coochey.net] Split false MCB rules
Browse files Browse the repository at this point in the history
wrt #529

Conflicts:
	src/chrome/content/rules/Coochey.net.xml
  • Loading branch information
MB committed Sep 8, 2014
1 parent dc3c73c commit 6b37b1a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/chrome/content/rules/Coochey.net-falsemixed.xml
@@ -0,0 +1,13 @@
<!--
For rules not causing false/broken MCB, see Coochey.net.xml.
-->
<ruleset name="Coochey.net (false MCB)" platform="mixedcontent">

<target host="*.coochey.net" />


<rule from="^http://www\.coochey\.net/"
to="https://www.coochey.net/" />

</ruleset>
24 changes: 23 additions & 1 deletion src/chrome/content/rules/Coochey.net.xml
@@ -1,9 +1,31 @@
<ruleset name="Coochey.net">
<!--
For rules causing false/broken MCB, see Coochey.net-falsemixed.xml.
^coochey.net doesn't exist.
Mixed content:
- css from $self *
- Images from $self *
* Secured by us
-->
<ruleset name="Coochey.net (partial)">

<target host="coochey.net"/>
<target host="www.coochey.net"/>
<!--
Avoid false/broken MCB:
-->
<!--exclusion pattern="^http://www\.coochey\.net/+(?!favicon\.ico|wp-content/|wp-includes/)" /-->


<rule from="^http://(www\.)?coochey\.net/"
<rule from="^http://www\.coochey\.net/(?=favicon\.ico|wp-content/|wp-includes/)"
to="https://www.coochey.net/"/>

</ruleset>

0 comments on commit 6b37b1a

Please sign in to comment.