Skip to content

Commit fcbcc87

Browse files
author
MB
committed
[Superdrug] Enumerate, squish, add coverage, add exclusions
1 parent 540fdde commit fcbcc87

File tree

2 files changed

+54
-10
lines changed

2 files changed

+54
-10
lines changed
Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,60 @@
11
<!--
2-
Disabled by https-everywhere-checker because:
3-
Fetch error: http://superdrug.com/ => https://superdrug.com/: Redirect for 'http://superdrug.com/' missing Location
4-
Fetch error: http://www.superdrug.com/ => https://www.superdrug.com/: Cycle detected - URL already encountered: https://www.superdrug.com/
2+
^: Mismatched
3+
www: Some pages redirect to http
4+
5+
6+
These altnames don't exist:
7+
8+
- www.onlinedoctor.superdrug.com
9+
10+
11+
Insecure cookies are set for these hosts:
12+
13+
- onlinedoctor.superdrug.com
14+
515
-->
6-
<ruleset name="Superdrug (partial)" platform="mixedcontent" default_off='failed ruleset test'>
16+
<ruleset name="Superdrug (partial)">
717

8-
<target host="superdrug.com"/>
18+
<!-- Direct rewrites:
19+
-->
20+
<target host="onlinedoctor.superdrug.com" />
921
<target host="www.superdrug.com"/>
10-
<target host="*.www.superdrug.com"/>
1122

12-
<securecookie host="^(?:.*\.)?superdrug\.com$" name=".*"/>
23+
<!-- Complications:
24+
-->
25+
<target host="superdrug.com"/>
26+
27+
<!-- Redirects to http:
28+
-->
29+
<exclusion pattern="^http://www\.superdrug\.com/$" />
30+
<!--
31+
Exceptions:
32+
-->
33+
<exclusion pattern="^http://www\.superdrug\.com/(?!combined\.css|favicon\.ico|medias/)" />
34+
35+
<!-- +ve:
36+
-->
37+
<test url="http://www.superdrug.com/cart" />
38+
39+
<!-- -ve:
40+
-->
41+
<test url="http://www.superdrug.com/combined.css" />
42+
<test url="http://www.superdrug.com/favicon.ico" />
43+
<test url="http://www.superdrug.com/medias/custom-content/img/offerbar/storenextdelivery.png" />
44+
45+
46+
<!-- Not secured by server:
47+
-->
48+
<securecookie host="^onlinedoctor\.superdrug\.com$" name="^PHPSESSID$" />
49+
50+
<!--securecookie host="^(?:.*\.)?superdrug\.com$" name=".*"/-->
51+
<securecookie host="^onlinedoctor\.superdrug\.com$" name=".*" />
52+
53+
54+
<rule from="^http://superdrug\.com/"
55+
to="https://www.superdrug.com/" />
1356

14-
<rule from="^http://(www\.)?superdrug\.com/"
15-
to="https://$1superdrug.com/"/>
57+
<rule from="^http:"
58+
to="https:" />
1659

1760
</ruleset>

utils/ruleset-coverage-whitelist.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11688,6 +11688,7 @@ fe3557d8b07287d6b4c7de018a160a3836540fcf24ddf078c415dcad7fa4238a Spyderco.xml
1168811688
b7a7b9f22aeb326e6b248f75737fc12c991167149fa21745a3906868ee8a1ee1 Spylog.com.xml
1168911689
3a36a580f9f30eeddc5bc11456200e59ddcfb79c3380063480fad46545dd8b3d SQL_Converter.xml
1169011690
9b5846d40b2dbbe3e6b67de2d720e28be67c094d35a066bbceb070acfab70558 SQLite.xml
11691+
888897e6655ec604655c2172cadc65dd48841593dbd5da2c6fa643590c841125 Sqsp.com.xml
1169111692
750f57f66b3c15780163a38531bb4b4b5c4e8c533967efeba52e69bad9baf68f Square.com.xml
1169211693
19ee0b18400069dd2137812806b008b06e12c14c2f57daea74afd8a05f014fce Squarefree.com.xml
1169311694
c35182546cd18e514a0d475d249a3619069cffb137dd321d28349e85ace0863a Square_Penguin.xml
@@ -11939,7 +11940,7 @@ fc7fea4b9413421e1d068183f889dee6db63ffab1d49d7b357ff1b649e18c5da Superannuation
1193911940
b1cab0bc9b0dc12288365e1bfdbb3849bca161256447ffd80601844bae54268c SuperAntiSpyware.xml
1194011941
aa8b4abf8a0d1e23fa13be69045e0ed6dbcf01b7977dc08e84d524c9e0a581eb Superblock.net.xml
1194111942
7dbe6d417e7173ef0dbabd4bc3de0df20d22f48bdc34f940ea3f3c72b4f654f6 Super_Bright_LEDs.com.xml
11942-
580b2c21a9827fdbeb2a368e432f3772ff57ce1ad21c94f0aa2ce1ce8749676d Superdrug.xml
11943+
afbd18713826c35756758dbd49f2dea67a98062117a4f8ef637387693133cc4e Superdrug.xml
1194311944
b3e991779064a59850c1c9d051f0cbeac50521e638b0282b6ea42eb5bba7b63b Superevr.xml
1194411945
365cef4f8ed780e9c2acd2b474eb54c8510c5db9f0ba420a2fffb9fa3346f9af Superherostuff.com.xml
1194511946
685fa560cd2aadf0fa6d7bddef6cb65fac872388b21c214111fb28da395a61ca Superhero-Training-Network.xml

0 commit comments

Comments
 (0)