Skip to content

Commit d7fd4d7

Browse files
author
MB
committed
[Ionic Framework.com] Squish, add/remove/update comments, add coverage
1 parent 106185d commit d7fd4d7

File tree

3 files changed

+118
-3
lines changed

3 files changed

+118
-3
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!--
2+
For rules not causing false/broken MCB, see Ionic_Framework.com.xml.
3+
4+
-->
5+
<ruleset name="Ionic Framework.com (false MCB)" platform="mixedcontent">
6+
7+
<!-- Direct rewrites:
8+
-->
9+
<target host="showcase.ionicframework.com" />
10+
<target host="www.ionicframework.com" />
11+
12+
<!-- Complications:
13+
-->
14+
<target host="ionicframework.com" />
15+
16+
17+
<securecookie host="^\.ionicframework\.com$" name="^__cfduid$" />
18+
19+
20+
<rule from="^http://ionicframework\.com/"
21+
to="https://www.ionicframework.com/" />
22+
23+
<rule from="^http:"
24+
to="https:" />
25+
26+
</ruleset>
Lines changed: 90 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,100 @@
11
<!--
2-
(www.) & forum: Tor blocked by CloudFlare
2+
For rules causing false/broken MCB, see Ionic_Framework.com-falsemixed.xml.
3+
4+
5+
CDN buckets:
6+
7+
- ionic-dash-static.s3.amazonaws.com
8+
- ionic-forum-static.s3.amazonaws.com
9+
- ionic-showcase.s3.amazonaws.com
10+
11+
12+
Nonfunctioanl hosts in *ionicframework.com:
13+
14+
- learn *
15+
16+
* 500
17+
18+
19+
Problematic hosts in *ionicframework.com:
20+
21+
- ^ ¹
22+
- showcase ²
23+
- www ²
24+
25+
¹ Mismatched
26+
² Mixed css
27+
28+
29+
Fully covered hosts in *ionicframework.com:
30+
31+
- code
32+
- forum
33+
34+
35+
Insecure cookies are set for these domains:
36+
37+
- .ionicframework.com
38+
39+
40+
Mixed content:
41+
42+
- css on showcase, www from code.ionicframework.com *
43+
- Fonts on showcase, www from code.ionicframework.com *
44+
45+
- Images, on:
46+
47+
- forum from ionic-forum-static.s3.amazonaws.com *
48+
- www from ionic-dash-static.s3.amazonaws.com *
49+
50+
- Bug on www from ghbtns.com *
51+
52+
* Secured by us
353
454
-->
555
<ruleset name="Ionic Framework.com (partial)">
656

57+
<!-- Direct rewrites:
58+
-->
759
<target host="code.ionicframework.com" />
60+
<target host="forum.ionicframework.com" />
61+
<!--target host="showcase.ionicframework.com" /-->
62+
<target host="www.ionicframework.com" />
63+
64+
<!-- Complications:
65+
-->
66+
<target host="ionicframework.com" />
67+
68+
<!-- Avoid broken MCB:
69+
-->
70+
<exclusion pattern="^http://(?:www\.)?ionicframework\.com/+(?!css/|favicon\.ico|img/)" />
71+
72+
<!-- +ve:
73+
-->
74+
<test url="http://ionicframework.com/contribute/" />
75+
<test url="http://ionicframework.com/docs/" />
76+
<test url="http://ionicframework.com/docs/overview/" />
77+
<test url="http://www.ionicframework.com/getting-started/" />
78+
<test url="http://www.ionicframework.com/present-ionic/" />
79+
80+
<!-- -ve:
81+
-->
82+
<test url="http://ionicframework.com/css/site.css" />
83+
<test url="http://www.ionicframework.com/favicon.ico" />
84+
<test url="http://www.ionicframework.com/img/homepage/feature-splash-icon.png" />
85+
86+
87+
<!-- Not secured by server:
88+
-->
89+
<!--securecookie host="^\.ionicframework\.com$" name="^(__cfduid|cf_clearance)$" /-->
90+
91+
<securecookie host="^\.ionicframework\.com$" name="^__cfduid$" />
92+
893

94+
<rule from="^http://ionicframework\.com/"
95+
to="https://www.ionicframework.com/" />
996

10-
<rule from="^http://code\.ionicframework\.com/"
11-
to="https://code.ionicframework.com/" />
97+
<rule from="^http:"
98+
to="https:" />
1299

13100
</ruleset>

utils/duplicate-whitelist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ inc.com
119119
inductionsolutions.com
120120
infinet.com.au
121121
invasion.com
122+
ionicframework.com
123+
www.ionicframework.com
122124
ivegotkids.com
123125
java-apps.org
124126
ideas.joomla.org

0 commit comments

Comments
 (0)