File: 04-add-debconf-ruleset.diff

package info (click to toggle)
https-everywhere 4.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,040 kB
  • ctags: 1,990
  • sloc: xml: 29,807; python: 1,839; sh: 322; makefile: 36
file content (17 lines) | stat: -rw-r--r-- 614 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Add rules for SSL DebConf domains
Forwarded: https://mail1.eff.org/pipermail/https-everywhere-rules/2013-March/001536.html
Bug-Debian: http://bugs.debian.org/702396

Initial patch provided by Paul Wise.

diff --git a/src/chrome/content/rules/DebConf.xml b/src/chrome/content/rules/DebConf.xml
new file mode 100644
index 0000000..4016045
--- /dev/null
+++ b/src/chrome/content/rules/DebConf.xml
@@ -0,0 +1,5 @@
+<ruleset name="DebConf">
+  <target host="*.debconf.org"/>
+  <rule from="^http://(wiki|penta|debconf7|db|rt|gallery|svn)\.debconf\.org/"
+        to="https://$1.debconf.org/"/>
+</ruleset>