Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Closed
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
66 changes: 35 additions & 31 deletions src/chrome/content/rules/National-Snow-and-Ice-Data-Center.xml
Original file line number Diff line number Diff line change
@@ -1,37 +1,41 @@
<!--
Covered nsidc.org subdomains:

- ^
- extranet
- staging.extranet
- igloo
- integration.igloo
- qa.igloo
- staging.igloo
- integration
- qa
- staging


Certificate also matches these subdomains:

- ops
- scm
- wordpress
- staging.wordpress

Subdomains covered by the rule:
- nsidc.org
- extranet.nsidc.org
- staging.extranet.nsidc.org
- igloo.nsidc.org
- integration.igloo.nsidc.org
- qa.igloo.nsidc.org
- staging.igloo.nsidc.org
- integration.nsidc.org
- qa.nsidc.org
- staging.nsidc.org
- www.nsidc.org (invalid certificate, redirect to nsidc.org)

Subdomains not covered by the rule but included in the certificate:
- ops
- scm
- wordpress
- staging.wordpress
-->
<ruleset name="National Snow and Ice Data Center">

<ruleset name="National Snow and Ice Data Center">
<target host="nsidc.org" />
<target host="*.nsidc.org" />
<target host="extranet.nsidc.org" />
<target host="staging.extranet.nsidc.org" />
<target host="*.igloo.nsidc.org" />


<!-- Cert doesn't match www.
-->
<rule from="^http://(?:((?:staging\.)?extranet\.|(?:integration\.|qa\.|staging\.)?igloo\.|integration\.|monitor\.|qa\.|staging\.)|www\.)?nsidc\.org/"
to="https://$1nsidc.org/" />

<target host="igloo.nsidc.org" />
<target host="integration.igloo.nsidc.org" />
<target host="qa.igloo.nsidc.org" />
<target host="staging.igloo.nsidc.org" />
<target host="integration.nsidc.org" />
<target host="qa.nsidc.org" />
<target host="staging.nsidc.org" />
<target host="www.nsidc.org" />

<!-- Needs testing if secure cookies may be used -->
<!-- <securecookie host=".+" name=".+" /> -->

<!-- Certificate does not match the www subdomain -->
<rule from="^https?://www\.nsidc\.org/" to="https://nsidc.org/" />
<rule from="^http:" to="https:" />
</ruleset>