Skip to content

Commit 8e4db72

Browse files
committed
Rewrote threema ruleset
Added domains: gateway, myid; added securecookie, styled ruleset
1 parent c9addb4 commit 8e4db72

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<ruleset name="Threema">
2-
<target host="*.threema.ch" />
3-
<target host="threema.ch" />
4-
<rule from="^http://(shop\.|www\.)?threema\.ch/" to="https://$1threema.ch/"/>
2+
<target host="threema.ch" />
3+
<target host="www.threema.ch" />
4+
<target host="gateway.threema.ch" />
5+
<target host="shop.threema.ch" />
6+
<target host="myid.threema.ch" />
7+
8+
<test url="http://threema.ch/en/whats-new" />
9+
<test url="http://www.threema.ch/" />
10+
<test url="http://gateway.threema.ch/en/developer/api" />
11+
<test url="http://shop.threema.ch/download" />
12+
<test url="http://myid.threema.ch/revoke" />
13+
14+
<securecookie host="^(www.|gateway.|shop\.|myid.)?threema\.ch/$" name=".+" />
15+
16+
<rule from="^http:"
17+
to="https:" />
518
</ruleset>

0 commit comments

Comments
 (0)