diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-04-13 00:30:12 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-04-13 00:30:12 +0200 |
| commit | d2a636f75d24953f5094ea97ab54a8a4353a65ff (patch) | |
| tree | 22da091679dd5b9460391a50810b96b80020e15f /searx/plugins/https_rules/WikiLeaks.xml | |
| parent | 146928a74980b90de614b71512334ac0a6373048 (diff) | |
[mod] https rewrite pluginification
Diffstat (limited to 'searx/plugins/https_rules/WikiLeaks.xml')
| -rw-r--r-- | searx/plugins/https_rules/WikiLeaks.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/plugins/https_rules/WikiLeaks.xml b/searx/plugins/https_rules/WikiLeaks.xml new file mode 100644 index 000000000..977709d2d --- /dev/null +++ b/searx/plugins/https_rules/WikiLeaks.xml @@ -0,0 +1,13 @@ +<ruleset name="WikiLeaks"> + + <target host="wikileaks.org" /> + <target host="*.wikileaks.org" /> + + + <securecookie host="^(?:w*\.)?wikileaks\.org$" name=".+" /> + + + <rule from="^http://((?:chat|search|shop|www)\.)?wikileaks\.org/" + to="https://$1wikileaks.org/" /> + +</ruleset>
\ No newline at end of file |