Skip to content

Commit 78e4aa6

Browse files
author
MB
committed
[Dell] Add/remove/prune comments, add coverage, enumerate, sort, squish, split, cosmetics
1 parent 0e90c8c commit 78e4aa6

3 files changed

Lines changed: 236 additions & 108 deletions

File tree

src/chrome/content/rules/Dell-mismatches.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/chrome/content/rules/Dell.xml

Lines changed: 211 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,258 @@
11
<!--
2-
Disabled per https://github.com/EFForg/https-everywhere/issues/1559
3-
CDN buckets:
4-
5-
- ccdn-global.dell.com.edgesuite.net
6-
7-
- a1058.g.akamai.net
8-
9-
- i
10-
11-
- dellideas.force.com
12-
13-
14-
Nonfunctional subdomains:
15-
16-
- community *
17-
- content *
18-
- accessories.euro (503, akamai)
19-
20-
* Dropped
2+
Other Dell rulesets:
213
4+
- Idea_Storm.com.xml
225
23-
Problematic subdomains:
24-
25-
- accessories-cdn *
26-
- media.community (504, akamai)
27-
- i *
28-
- www1.la *
29-
- www1-cdn.la *
30-
- accessories.us (mismatched, CN: accessories.dell.com)
31-
- www-cdn *
32-
- linux ²
33-
34-
* Works, akamai
356
7+
CDN buckets:
368
37-
Partially covered subdomains:
9+
- ccdn-global.dell.com.edgesuite.net
3810
39-
- community subdomains:
11+
- i
4012
41-
- de ¹
42-
- en ¹
43-
- es ¹
44-
- fr ¹
45-
- ja ¹
46-
- ko ¹
47-
- media (→ en.community)
48-
- pt ¹
49-
- zh ¹
5013
51-
- partnerdirect ²
14+
Nonfunctional hosts in *dell.com:
5215
53-
¹ cfs-file.ashx & resized-image.ashx 404, at least some pages redirect to http
54-
² At least some pages redirect to http
16+
- www1.ap ¹
17+
- community ²
18+
- accessories.euro ³
19+
- events ²
20+
- www1.jp ¹
21+
- linux ⁴
22+
- lt ²
23+
- mobility ⁵
24+
- opensource ⁶
25+
- software ⁷
26+
- solutions ⁵
5527
28+
¹ 504, Akamai
29+
² Dropped
30+
³ 503, Akamai
31+
⁴ Plaintext reply
32+
⁵ Refused
33+
⁶ Maps to another domain
34+
⁷ Redirects to http
5635
57-
Fully covered subdomains:
5836
59-
- (www.) (^ → www)
60-
- accessories-cdn (→ accessories)
61-
- afcs
37+
Problematic hosts in *dell.com:
6238
63-
- ap subdomains:
39+
- ^ ¹
40+
- accessories-cdn ²
41+
- media.community ²
42+
- content ³
43+
- dealsdev ²
44+
- i ²
45+
- www1.la ²
46+
- www1-cdn.la ²
47+
- accessories.us ³
48+
- www-cdn ²
6449
65-
- chatpro
66-
- cs
67-
- dellchat
50+
¹ Server sends no certificate chain, see https://whatsmychaincert.com
51+
² Akamai/mismatched
52+
³ Mismatched
6853
69-
- b2bservices
7054
71-
- cdn subdomains:
55+
These altnames don't exist:
7256
73-
- ec2
74-
- si
75-
- snp
57+
- ar.community.dell.com
58+
- it.community.dell.com
59+
- ru.community.dell.com
60+
- tr.community.dell.com
7661
77-
- ecomm
78-
- ecomm2
79-
- support.euro
80-
- i (→ akamai)
81-
- img
82-
- mobility
83-
- premier
84-
- signin
85-
- support.software
86-
- sso
87-
- support
88-
- supportapj
89-
- pbar.us
90-
- www1-cdn
91-
- www-cdn (→ www)
62+
- eagleeye.dell.com
63+
- Identity.dell.com
64+
- mobility.dell.com
65+
- pilot.dell.com
66+
- Payment.dell.com
67+
- Prtools.dell.com
68+
- sales.dell.com
69+
- tools.dell.com
70+
- wip.dell.com
9271
9372
9473
Mixed content:
9574
96-
- css on www from www-cdn *
75+
- css, on:
76+
77+
- www from www-cdn1.dell.com *
78+
- en.community from media.community.dell.com *
9779
9880
- Images, on:
99-
- Images on accessories from i *
100-
- dellideas.secure.force.com from www.ideastorm.com *
101-
102-
- favicon on dellideas.secure.force.com from i.dell.com *
10381
104-
- Bug on dellideas.secure.force.com from cdn.gigya.com *
82+
- accessories, deals, downloads, partnerdirect, channels.us, www from i.dell.com *
83+
- (de|en|es|fr|ja|ko|pt|zh).community from $self *
84+
- (de|en|es|fr|ja|ko|pt|zh).community from media.community.dell.com *
85+
- www from si.cdn.dell.com *
86+
- www from www-cdn1.dell.com *
10587
10688
* Secured by us
10789
10890
-->
109-
<ruleset name="Dell (partial)" default_off="Breaks linux.dell.com">
110-
91+
<ruleset name="Dell.com (partial)">
92+
93+
<!-- Direct rewrites:
94+
-->
95+
<target host="accessories.dell.com" />
96+
<target host="advisors.dell.com" />
97+
<target host="afcs.dell.com" />
98+
99+
<target host="channels.ap.dell.com" />
100+
<target host="channelslb.ap.dell.com" />
101+
<target host="channelspro.ap.dell.com" />
102+
<target host="chat1.ap.dell.com" />
103+
<target host="chatpro.ap.dell.com" />
104+
<target host="cs.ap.dell.com" />
105+
<target host="dellchat.ap.dell.com" />
106+
107+
<target host="b2bservices.dell.com" />
108+
109+
<target host="ec2.cdn.dell.com" />
110+
<target host="si.cdn.dell.com" />
111+
<target host="snp.cdn.dell.com" />
112+
113+
<target host="community.dell.com" />
114+
115+
<target host="de.community.dell.com" />
116+
<target host="en.community.dell.com" />
117+
<target host="es.community.dell.com" />
118+
<target host="fr.community.dell.com" />
119+
<target host="ja.community.dell.com" />
120+
<target host="ko.community.dell.com" />
121+
<target host="pt.community.dell.com" />
122+
<target host="zh.community.dell.com" />
123+
124+
<target host="deals.dell.com" />
125+
<target host="dellupdater.dell.com" />
126+
<target host="downloads.dell.com" />
127+
<target host="dpacksupport.dell.com" />
128+
<target host="ecomm.dell.com" />
129+
<target host="ecomm2.dell.com" />
130+
<target host="support.euro.dell.com" />
131+
<target host="fcs.dell.com" />
132+
<target host="ftp.dell.com" />
133+
<target host="financing.dell.com" />
134+
<target host="img.dell.com" />
135+
<target host="jpstore.dell.com" />
136+
<target host="m.dell.com" />
137+
<target host="marketing.dell.com" />
138+
<target host="partnerdirect.dell.com" />
139+
<target host="paymentsportal.dell.com" />
140+
<target host="powermore.dell.com" />
141+
<target host="premier.dell.com" />
142+
<target host="signin.dell.com" />
143+
<target host="support.software.dell.com" />
144+
<target host="sso.dell.com" />
145+
<target host="support.dell.com" />
146+
<target host="supportapj.dell.com" />
147+
<target host="techpageone.dell.com" />
148+
149+
<target host="channels.us.dell.com" />
150+
<target host="lists.us.dell.com" />
151+
<target host="pbar.us.dell.com" />
152+
153+
<target host="www.dell.com" />
154+
<target host="www1-cdn.dell.com" />
155+
156+
<!-- Complications:
157+
-->
111158
<target host="dell.com" />
112-
<target host="*.dell.com" />
113-
<exclusion pattern="^http://(?:\w\w|media)\.community\.dell\.com/(?![tT]hemes/)" />
114-
<exclusion pattern="^http://partnerdirect\.dell\.com/(?!sites/channel/(?:Style\ Library/|\w\w_\w\w/pages/loginpage\.aspx))" />
115-
<!--
116-
False/broken MCB:
159+
<target host="accessories-cdn.dell.com" />
160+
<target host="media.community.dell.com" />
161+
<target host="i.dell.com" />
162+
<target host="www-cdn.dell.com" />
163+
164+
<!-- Avoid false/broken MCB:
117165
-->
118166
<exclusion pattern="^http://(?:www\.)?dell\.com/+(?!content/|favicon\.ico)" />
119-
<target host="ideastorm.com" />
120-
<target host="www.ideastorm.com" />
121-
122167

123-
<!--(?!.+\.community\.|partnerdirect\.)-->
124-
<securecookie host="^(?:accessories|ecomm|support\.euro|mobility|premier|signin|support(?:apj)?)\.dell\.com$" name=".+" />
168+
<!-- +ve:
169+
-->
170+
<test url="http://www.dell.com/learn/campaigns/dell-coupon-codes-us-smb?s=" />
171+
<test url="http://www.dell.com/printers" />
172+
<test url="http://www.dell.com/sitemap" />
125173

174+
<!-- -ve:
175+
-->
176+
<test url="http://www.dell.com/content/segmenter.aspx?c=us&amp;l=en&amp;s=&amp;cs=" />
177+
<test url="http://www.dell.com/favicon.ico" />
126178

127-
<rule from="^http://(?:www(?:-cdn)?\.)?dell\.com/"
179+
<!-- Avoid false/broken MCB:
180+
-->
181+
<exclusion pattern="^http://(?:\w\w|media)\.community\.dell\.com/(?!cfs-file\.ashx/|cfs-file/|cfs-filesystemfile/|resized-image/|[Tt]hemes/)" />
182+
183+
<!-- +ve:
184+
-->
185+
<test url="http://de.community.dell.com/content/dellcommunityfaqs.aspx" />
186+
<test url="http://en.community.dell.com/Dell/sso.aspx?action=createaccount&amp;ReturnUrl=" />
187+
<test url="http://en.community.dell.com/dell-blogs/direct2dell/b/direct2dell" />
188+
<test url="http://es.community.dell.com/p/sso_faqs.aspx" />
189+
<test url="http://fr.community.dell.com/forums_daide/default.aspx" />
190+
<test url="http://ja.community.dell.com/p/sso_faqs.aspx" />
191+
<test url="http://ko.community.dell.com/p/sso_faqs.aspx" />
192+
<test url="http://media.community.dell.com/CSS/Dell.Community.css" />
193+
<test url="http://media.community.dell.com/Images/bgContentB.jpg" />
194+
<test url="http://pt.community.dell.com/support-forums/default.aspx" />
195+
<test url="http://zh.community.dell.com/p/sso_faqs.aspx" />
196+
197+
<!-- -ve:
198+
-->
199+
<test url="http://de.community.dell.com/cfs-filesystemfile/__key/communityserver-components-secureimagefileviewer/communityserver-components-userfiles-00-00-00-53-65-features/new_5F00_caution.jpg_2D00_160x160.jpg" />
200+
<test url="http://en.community.dell.com/Themes/Groups/DellTechCenterFiji/Images/FacebookIcon.jpg" />
201+
<test url="http://en.community.dell.com/cfs-file/__key/communityserver-components-sitefiles/Direct2Dell_5F00_banner.png" />
202+
<test url="http://es.community.dell.com/resized-image/__size/45x0/__key/widgetcontainerfiles/e8cd36567b8c485e9516257a9560715c-u-AAAAAAAAAAAAAAAAAAAAAA-page-1common_2D00_home/859745199_2D00_6746.ideastorm.jpg" />
203+
<test url="http://fr.community.dell.com/cfs-file.ashx/__key/themefiles/s-e8cd36567b8c485e9516257a9560715c-files/favicon.ico" />
204+
<test url="http://ko.community.dell.com/cfs-file/__key/defaultwidgets/c0d011fc348b4529892cd747fe562169-44bc38ea68ce486499ae79d6dd255642/new_2D00_message_2D00_background.gif" />
205+
<test url="http://media.community.dell.com/Themes/Groups/DellTechCenterFiji/images/border.png" />
206+
<test url="http://pt.community.dell.com/cfs-file/__key/defaultwidgets/c0d011fc348b4529892cd747fe562169-44bc38ea68ce486499ae79d6dd255642/search_2D00_icon.gif" />
207+
208+
<exclusion pattern="^http://partnerdirect\.dell\.com/(?!sites/channel/(?:Documents/|Style\ Library/|\w\w_\w\w/pages/loginpage\.aspx))" />
209+
210+
<!-- +ve:
211+
-->
212+
<test url="http://partnerdirect.dell.com/sites/channel/en_an/Authorize-Distributors/Pages/MyNewsandEvents.aspx" />
213+
<test url="http://partnerdirect.dell.com/sites/channel/en_gy/Pages/adefault.aspx" />
214+
<test url="http://partnerdirect.dell.com/sites/channel/en_la/Pages/MoreInfo.aspx" />
215+
216+
<!-- -ve:
217+
-->
218+
<test url="http://partnerdirect.dell.com/sites/channel/Documents/Rugged_FAQ.docx" />
219+
220+
<test url="http://www1-cdn.dell.com/css/images/icons/icons-sprite-24.png" />
221+
222+
223+
<!-- Not secured by server:
224+
-->
225+
<!--securecookie host="^\.dell\.com$" name="^(?:__cfduid|CartID|Current|EQuoteID|GAAnon|GAAuth|GACold|GAFed_Identity|GAHot|SITESERVER|SITESERVER_SESSION|Storm[PS]Cookie|c_lwp|cf_clearance|chm:TP|eSupId|eSupportSegment|eds|lwp|lwprofile|ptl:authz|snp_bn)$" /-->
226+
<!--securecookie host="^(?:de|en|es|fr|ja|ko|pt|zh)\.community\.dell\.com$" name="^(?:_op_aixPageId|AuthorizationCookie)$" /-->
227+
<!--securecookie host="^deals(?:dev)?\.dell\.com$" name="^akavpau_vp1$" /-->
228+
<!--securecookie host="^m\.dell\.com$" name="^(X-Mapping-\w+|un_jtt_session)$" /-->
229+
<!--securecookie host="^(?:marketing|channels\.us)\.dell\.com$" name="^ASP\.NET_SessionId$" /-->
230+
<!--securecookie host="^partnerdirect\.dell\.com$" name="^\.DELLANONYMOUS$" /-->
231+
<!--securecookie host="^\.premier\.dell\.com$" name="^(?:_op_aixPageId|loginLWP)$" /-->
232+
<!--securecookie host="^support\.software\.dell\.com$" name="^(?:ASP\.NET_SessionId|DellUserChk|ENC_Cookie)$" /-->
233+
<!--securecookie host="^www\.dell\.com$" name="^(?:\.ASPXBrowserOverride|__RequestVerificationToken_\w+|dus|learntaxonomy)$" /-->
234+
235+
<securecookie host="^\.dell\.com$" name="^(?:__cfduid|cf_clearance)$" />
236+
<securecookie host="^(?:accessories|deals|ecomm|support\.euro|m|marketing|premier|signin|support(?:apj|\.software)?|channels\.us)\.dell\.com$" name="." />
237+
238+
239+
<rule from="^http://(?:www-cdn\.)?dell\.com/"
128240
to="https://www.dell.com/" />
129241

130-
<rule from="^http://(accessories|a?fcs|(?:chatpro|dellchat|cs)\.ap|b2bservices|(?:ec2|si|snp)\.cdn|\w\w\.community|ecomm2?|support\.euro|img|mobility|partnerdirect|premier|signin|support\.software|sso|support(?:apj)?|pbar\.us|www1-cdn)\.dell\.com/"
131-
to="https://$1.dell.com/" />
132-
133-
<rule from="^http://accessories-cdn\.dell\.com/"
242+
<!-- s? for protocol-relative
243+
embeds on accessories:
244+
-->
245+
<rule from="^https?://accessories-cdn\.dell\.com/"
134246
to="https://accessories.dell.com/" />
135247

136248
<rule from="^http://media\.community\.dell\.com/"
137249
to="https://en.community.dell.com/" />
138250

139251
<rule from="^http://i\.dell\.com/"
140-
to="https://a248.e.akamai.net/f/1058/5566/8/i.dell.com/" />
252+
to="https://si.cdn.dell.com/" />
141253

142-
<rule from="^http://(?:www\.)?ideastorm\.com/"
143-
to="https://dellideas.secure.force.com/" />
254+
<rule from="^http:"
255+
to="https:" />
144256

145257
</ruleset>
146258

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!--
2+
For other Dell coverage, see Dell.xml.
3+
4+
5+
Mixed content:
6+
7+
- Images on dellideas.secure.force.com from www.ideastorm.com *
8+
- favicon on dellideas.secure.force.com from i.dell.com *
9+
10+
* Secured by us
11+
12+
-->
13+
<ruleset name="Idea Storm.com">
14+
15+
<!-- Complications:
16+
-->
17+
<target host="ideastorm.com" />
18+
<target host="www.ideastorm.com" />
19+
20+
21+
<rule from="^http://(?:www\.)?ideastorm\.com/"
22+
to="https://dellideas.secure.force.com/" />
23+
24+
</ruleset>
25+

0 commit comments

Comments
 (0)