Skip to content

[patch] FBI.gov gives 502, redirect to www.fbi.gov

From 0b480d10d96737726b01492c61fb06b9e52106fb Mon Sep 17 00:00:00 2001
From: Kenyon Ralph <kenyon@kenyonralph.com>
Date: Thu, 18 Apr 2013 22:49:14 -0700
Subject: [PATCH] [FBI] redirect fbi.gov to www.fbi.gov since the former
 doesn't work

https://fbi.gov/ gives 502 Bad Gateway
---
 src/chrome/content/rules/Federal-Bureau-of-Investigation.xml |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/chrome/content/rules/Federal-Bureau-of-Investigation.xml b/src/chrome/content/rules/Federal-Bureau-of-Investigation.xml
index 41856f9..9420fe9 100644
--- a/src/chrome/content/rules/Federal-Bureau-of-Investigation.xml
+++ b/src/chrome/content/rules/Federal-Bureau-of-Investigation.xml
@@ -7,6 +7,8 @@
 	<target host="fbi.gov" />
 	<target host="*.fbi.gov" />
 
+	<rule from="^http://fbi\.gov/"
+		to="https://www.fbi.gov/" />
 
 	<rule from="^http://((?:foia|forms|tips|vault|www)\.)?fbi\.gov/"
 		to="https://$1fbi.gov/" />
-- 
1.7.10.4

Trac:
Username: kenyon

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information