Skip to content

Commit 2528437

Browse files
committed
Merge branch 'master' of github.com:EFForg/https-everywhere
2 parents 4ad9f58 + e55ab22 commit 2528437

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

ruleset-testing.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ target host with a left-side wildcard, and at least ten test URLs for each
3030
target host with a right-side wildcard. But this is not yet implemented.
3131

3232
# Example:
33-
<ruleset name="example.com">
34-
<target host="example.com" />
35-
<target host="*.example.com" />
33+
<ruleset name="example.com">
34+
<target host="example.com" />
35+
<target host="*.example.com" />
3636

37-
<test url="http://www.example.com/" />
38-
<test url="http://beta.example.com/" />
37+
<test url="http://www.example.com/" />
38+
<test url="http://beta.example.com/" />
3939

40-
<rule from="^http://([\w-]+\.)?dezeen\.com/"
41-
to="https://$1dezeen.com/" />
40+
<rule from="^http://([\w-]+\.)?dezeen\.com/"
41+
to="https://$1dezeen.com/" />
4242

43-
</ruleset>
43+
</ruleset>
4444

4545
This ruleset has one implicit test URL from a target host
4646
("http://example.com/"). The other target host has a wildcard, so creates no
@@ -63,4 +63,4 @@ a submodule of https-everywhere. To set it up, run:
6363

6464
To test a specific ruleset:
6565

66-
./fetch-test.sh rules/Example.xml
66+
./fetch-test.sh rules/Example.xml
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<ruleset name="Octorate">
2+
<target host= "octorate.com" />
3+
<target host="www.octorate.com" />
4+
5+
<securecookie host="^(www\.)?octorate\.com$" name=".+" />
6+
7+
<rule from="^http:"
8+
to="https:" />
9+
</ruleset>

0 commit comments

Comments
 (0)