Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/rulesets.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p>
This page describes how to write rulesets for
<a href="https://eff.org/https-everywhere">HTTPS Everywhere</a>,
the Firefox and Chrom* add-on that switches sites over from HTTP
a browser extension that switches sites over from HTTP
to HTTPS automatically. HTTPS Everywhere comes with
<a href="http://www.eff.org/https-everywhere/atlas/">thousands</a>
of rulesets that tell HTTPS Everywhere which sites it should switch
Expand Down
18 changes: 15 additions & 3 deletions src/chrome/content/rules/Federal-Communications-Commission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- ^ (shows transition; mismatched, CN: transition.fcc.gov)
- publicsafety (times out)
- reboot *
- transition (404 on http://transition.fcc.gov/Daily_Releases/Daily_Digest/2015/dd2015.html)

* Times out

Expand All @@ -31,14 +32,22 @@
- fjallfoss
- licensing
- stations
- transition

-->
<ruleset name="Federal Communications Commission (partial)">

<target host="fcc.gov" />
<target host="*.fcc.gov" />

<test url="http://apps.fcc.gov/" />
<test url="http://data.fcc.gov/" />
<test url="http://fjallfoss.fcc.gov/" />
<test url="http://licensing.fcc.gov/" />
<test url="http://stations.fcc.gov/" />
<test url="http://transition.fcc.gov/" />
<test url="http://www.fcc.gov/" />
<test url="http://hraunfoss.fcc.gov/edocs_public/attachmatch/DOC-235879A1.txt" />
<test url="http://hraunfoss.fcc.gov/edocs_public/attachmatch/DOC-235879A1.pdf" />

<securecookie host="^.*\.fcc\.gov$" name=".*" />

Expand All @@ -51,8 +60,10 @@

<!-- Redirects like so:
-->
<rule from="^http://hraunfoss\.fcc\.gov/edocs_public/attachmatch/(?=.+)"
to="https://apps.fcc.gov/edocs_public/attachmatch/" />
<rule from="^http://hraunfoss\.fcc\.gov/edocs_public/attachmatch/(.+)"
to="https://apps.fcc.gov/edocs_public/attachmatch/$1" />

<!-- These rules need tests:

<rule from="^http://publicsafety\.fcc\.gov/(?:\?.*)?$"
to="https://www.fcc.gov/pshs/" />
Expand All @@ -63,4 +74,5 @@
<rule from="^http://reboot\.fcc\.gov/data(?:\?.*)?$"
to="https://www.fcc.gov/data" />

-->
</ruleset>