Hello,

Please consider the following patch for inclusion.

It adds rules for the domain arbitrary.ch.


Regards
Peter
From 75463e446110a898c6ba72df6cb59ecc32899486 Mon Sep 17 00:00:00 2001
From: Peter Gerber <[email protected]>
Date: Sat, 28 Mar 2015 11:58:02 +0100
Subject: [PATCH] [Arbitrary.ch] initial addition of domain

---
 src/chrome/content/rules/Arbitrary.ch.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/chrome/content/rules/Arbitrary.ch.xml

diff --git a/src/chrome/content/rules/Arbitrary.ch.xml 
b/src/chrome/content/rules/Arbitrary.ch.xml
new file mode 100644
index 0000000..172db14
--- /dev/null
+++ b/src/chrome/content/rules/Arbitrary.ch.xml
@@ -0,0 +1,17 @@
+<!--
+       Requests to arbitrary.ch return a HSTS header
+       that includes the includeSubDomains directive.
+       Hence, it should be fine to just upgrade the
+       the whole domain to https.
+-->
+
+<ruleset name="Arbitrary.ch">
+       <target host="arbitrary.ch" />
+       <target host="*.arbitrary.ch" />
+
+       <rule from="^http://(www\.)?arbitrary\.ch/"
+               to="https://www.arbitrary.ch/"; />
+
+       <rule from="^http:"
+               to="https:" />
+</ruleset>
-- 
1.9.1

Reply via email to