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

Commit

Permalink
[Ubuntu] Split false/broken MCB coverage
Browse files Browse the repository at this point in the history
And add related comments.
  • Loading branch information
MB committed Feb 28, 2014
1 parent 20c41be commit ef7770a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/chrome/content/rules/Ubuntu.com-falsemixed.xml
@@ -0,0 +1,13 @@
<!--
For rules not causing false/broken MCB, see Ubuntu.xml.
-->
<ruleset name="Ubuntu.com (false MCB)" platform="mixedcontent">

<target host="developer.ubuntu.com" />


<rule from="^http://developer\.ubuntu\.com/"
to="https://developer.ubuntu.com/" />

</ruleset>
26 changes: 25 additions & 1 deletion src/chrome/content/rules/Ubuntu.xml
@@ -1,4 +1,7 @@
<!--
For rules causing false/broken MCB, see Ubuntu.com-falsemixed.xml.
Other Ubuntu rulesets:
- Ubuntu_Forums.org.xml
Expand Down Expand Up @@ -36,8 +39,18 @@
Problematic subdomains:
- developer ¹
- shop (mismatched, CN: shop.canonical.com)
¹ Mixed css from $self and assets
Partially covered subdomains:
- developer *
* Avoiding false/broken MCB, rest handled in -falsemixed.xml
Fully covered domains:
Expand All @@ -47,7 +60,6 @@
- assets
- cloud
- community
- developer
- myapps.developer
- fridge
- help
Expand All @@ -68,14 +80,26 @@
Mixed content:
- css, on developer from:
- $self ¹
- assets ¹
- fonts.googleapis.com ¹
- Images on developer from $self ¹
- Images on help from pix.toile-libre.org *
¹ Secured by us
* Unsecurable, doesn't trip MCB
-->
<ruleset name="Ubuntu (partial)">

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

Expand Down

0 comments on commit ef7770a

Please sign in to comment.