summaryrefslogtreecommitdiff
path: root/searx/https_rules/Flickr.xml
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-10-19 12:06:34 +0200
committerAdam Tauber <asciimoo@gmail.com>2014-10-19 12:06:34 +0200
commit20400c40c34b6122621476c46460c5a3a8624c89 (patch)
treeaa598d3d8b09f489b8d96a1821e7a560b8019672 /searx/https_rules/Flickr.xml
parent840945f498cd07d38cb198cc0735b6445f44802c (diff)
parent1e3e6465845236b027ce8df9ab5fcc78ffe3f1d1 (diff)
Merge pull request #97 from pointhi/https
Implementing https rewrite support
Diffstat (limited to 'searx/https_rules/Flickr.xml')
-rw-r--r--searx/https_rules/Flickr.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/searx/https_rules/Flickr.xml b/searx/https_rules/Flickr.xml
new file mode 100644
index 000000000..85c6e8065
--- /dev/null
+++ b/searx/https_rules/Flickr.xml
@@ -0,0 +1,44 @@
+<!--
+ For other Yahoo coverage, see Yahoo.xml.
+
+
+ These altnames don't exist:
+
+ - www.blog.flickr.net
+ - www.code.flickr.net
+
+-->
+<ruleset name="Flickr">
+
+ <target host="flic.kr" />
+ <target host="*.flic.kr" />
+ <target host="flickr.com" />
+ <target host="*.flickr.com" />
+ <target host="*.flickr.net" />
+ <target host="*.staticflickr.com" />
+
+
+ <!-- Not secured by server:
+ -->
+ <!--securecookie host="^\.flic\.kr$" name="^BX$" /-->
+
+ <securecookie host="^\.flic\.kr$" name=".+" />
+ <securecookie host=".*\.flickr\.com$" name=".+" />
+
+
+ <rule from="^http://flic\.kr/"
+ to="https://flic.kr/" />
+
+ <rule from="^http://(api\.|www\.)?flickr\.com/"
+ to="https://$1flickr.com/" />
+
+ <rule from="^http://s(ecure|tatic)\.flickr\.com/"
+ to="https://s$1.flickr.com/" />
+
+ <rule from="^http://(c2|farm\d+)\.static(\.)?flickr\.com/"
+ to="https://$1.static$2flickr.com/" />
+
+ <rule from="^http://(blog|code)\.flickr\.net/"
+ to="https://$1.flickr.net/" />
+
+</ruleset>