Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Create ruleset: Mono project and pronoun.is #15535

Merged
merged 2 commits into from
Jul 4, 2018
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
21 changes: 21 additions & 0 deletions src/chrome/content/rules/Mono-project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!--
Mismatch:
mono-project.com
news.mono-project.com
-->
<ruleset name="Mono project">
<target host="mono-project.com" />
<target host="news.mono-project.com" />

<target host="download.mono-project.com" />
<target host="jenkins.mono-project.com" />
<target host="origin-download.mono-project.com" />
<target host="www.mono-project.com" />

<securecookie host=".+" name=".+" />

<rule from="^http://mono-project\.com/" to="https://www.mono-project.com/" />
<rule from="^http://news\.mono-project\.com/" to="https://www.mono-project.com/news/" />

<rule from="^http:" to="https:" />
</ruleset>
23 changes: 23 additions & 0 deletions src/chrome/content/rules/pronoun.is.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!--
Mismatch:
hubots.pronoun.is
my.pronoun.is
www.pronoun.is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please document that this host has a wildcard DNS record.
LGTM otherwise.


Remark: *.pronoun.is has a wildcard DNS record.
-->
<ruleset name="pronoun.is">
<target host="hubots.pronoun.is" />
<target host="my.pronoun.is" />
<target host="www.pronoun.is" />

<target host="pronoun.is" />

<securecookie host=".+" name=".+" />

<rule from="^http://hubots\.pronoun\.is/" to="https://pronoun.is/" />
<rule from="^http://my\.pronoun\.is/" to="https://pronoun.is/" />
<rule from="^http://www\.pronoun\.is/" to="https://pronoun.is/" />

<rule from="^http:" to="https:" />
</ruleset>