[or-cvs] [https-everywhere/master 208/291] New rulesets for names.co.uk and hosts.co.uk
schoen at torproject.org
schoen at torproject.org
Sat Oct 30 00:32:42 UTC 2010
Author: Mike Cardwell <github at grepular.com>
Date: Sat, 16 Oct 2010 23:57:50 +0100
Subject: New rulesets for names.co.uk and hosts.co.uk
Commit: c60ac7a3922f960d7e6f39a513b6ec36c35ac471
---
src/chrome/content/rules/Hosts.xml | 4 ++++
src/chrome/content/rules/Names.xml | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
create mode 100644 src/chrome/content/rules/Hosts.xml
create mode 100644 src/chrome/content/rules/Names.xml
diff --git a/src/chrome/content/rules/Hosts.xml b/src/chrome/content/rules/Hosts.xml
new file mode 100644
index 0000000..9a702c5
--- /dev/null
+++ b/src/chrome/content/rules/Hosts.xml
@@ -0,0 +1,4 @@
+<ruleset name="Hosts">
+ <rule from="^http://(www\.)?hosts\.co\.uk/" to="https://www.hosts.co.uk/"/>
+ <rule from="^http://(admin|webmail)\.hosts\.co\.uk/" to="https://$1.hosts.co.uk/"/>
+</ruleset>
diff --git a/src/chrome/content/rules/Names.xml b/src/chrome/content/rules/Names.xml
new file mode 100644
index 0000000..dfa2d80
--- /dev/null
+++ b/src/chrome/content/rules/Names.xml
@@ -0,0 +1,4 @@
+<ruleset name="Names">
+ <rule from="^http://(www\.)?names\.co\.uk/" to="https://www.names.co.uk/"/>
+ <rule from="^http://(admin|webmail4?)\.names\.co\.uk/" to="https://$1.names.co.uk/"/>
+</ruleset>
--
1.7.1
More information about the tor-commits
mailing list