Skip to content

Commit

Permalink
[gov.hk] Update ruleset (EFForg#9831)
Browse files Browse the repository at this point in the history
* [gov.hk] Update ruleset

* [gov.hk] Add missing reference

* Fix old rule
  • Loading branch information
Marco129 authored and J0WI committed May 8, 2017
1 parent bdc5008 commit ea1af98
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/chrome/content/rules/1823.gov.hk.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<!--
For other HK government coverage, see GovHK.xml.
Invalid certificate:
1823.gov.hk
-->
Expand Down
13 changes: 13 additions & 0 deletions src/chrome/content/rules/GovHK.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!--
Other HK government rulesets:
- 1823.gov.hk.xml
- data.gov.hk.xml
- hee.gov.hk.xml
- heritage.gov.hk.xml
Expand All @@ -15,12 +16,24 @@
- HKGov-TID.xml
- hkpl.gov.hk.xml
- hkqf.gov.hk.xml
- hkwetlandpark.xml
- hongkongpost.gov.hk.xml
- jobs.gov.hk.xml
- voterinfo.gov.hk.xml
Nonfunctional hosts in *.gov.hk:
- theme.gov.hk (m)
- search.gov.hk (m)
h: http redirect
m: certificate mismatch
r: connection refused
s: self-signed certificate
t: timeout on https
-->
<ruleset name="GovHK">
<target host="www.gov.hk" />
<target host="lp.search.gov.hk" />

<rule from="^http:" to="https:" />
</ruleset>
5 changes: 4 additions & 1 deletion src/chrome/content/rules/hkwetlandpark.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<ruleset name="Hong Kong Wetland Park (partial)">
<!--
For other HK government coverage, see GovHK.xml.
-->
<ruleset name="Hong Kong Wetland Park (partial)" default_off="missing certificate chain">

<target host="www.wetlandpark.gov.hk" />
<target host="wetlandpark.gov.hk" />
Expand Down

0 comments on commit ea1af98

Please sign in to comment.