Ticket #8740: 0002-FBI-redirect-fbi.gov-to-www.fbi.gov-since-the-former.patch

File 0002-FBI-redirect-fbi.gov-to-www.fbi.gov-since-the-former.patch, 944 bytes (added by kenyon, 7 years ago)
  • src/chrome/content/rules/Federal-Bureau-of-Investigation.xml

    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 b  
    77        <target host="fbi.gov" />
    88        <target host="*.fbi.gov" />
    99
     10        <rule from="^http://fbi\.gov/"
     11                to="https://www.fbi.gov/" />
    1012
    1113        <rule from="^http://((?:foia|forms|tips|vault|www)\.)?fbi\.gov/"
    1214                to="https://$1fbi.gov/" />