forked from EFForg/https-everywhere
/
HubSpot.xml
131 lines (84 loc) · 2.8 KB
/
HubSpot.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!--
Automatically by https-everywhere-checker because:
Fetch error: http://hubspot.com/ => https://hubspot.com/: (7, 'Failed to connect to hubspot.com port 443: Connection timed out')
Other HubSpot rulesets:
- HS-analytics.net.xml
- HSstatic.net.xml
s3.amazonaws.com/css.blog.hubspot.com/
- s3.amazonaws.com/cdn1.hubspot.com/
hubspot-marketplace.s3.amazonaws.com
- hubspot.force.com
- help.hubspot.com
- a.performable.com
- go.hubspot.com
ideas.hubspot.com is handled in Uservoice-clients.xml.
Nonfunctional domains:
- hubspot.com subdomains:
- academy (504, akamai)
- cta-redirect ²
- go *
- help (cert: slotmatching8.salesforce.com; redirects to http)
- hugs (504, akamai; redirects to www.inboundconference.com over http)
- learning *
- university.web11 (times out)
- cdn1.hubspotqa.com *
- (www.)inboundconference.com (times out)
² Refused
* 503, akamai
Problematic domains:
- hubspot.com subdomains:
- cdn1 (akamai 503, valid cert)
- dev (works, akamai)
- www.inbound.com (works, akamai)
Fully covered domains:
- static.hsappstatic.net
- hubspot.com subdomains:
- cdn1 (→ s3.amazonaws.com)
- forms
- info
- no-cache
- sites-auth
- static2cdn
- cdn2.hubspot.net
- hubspotqa.com subdomains:
- js
- no-cache
- static
track sets "hsfirstvisit" and "hubspotutk" wildcard
cookies on domains from which it is loaded.
js.hubspot.com sets the following wildcard cookies
on whichever domains it is loaded from:
- hsfirstvisit
- __hssc
- __hssrc
- __hstc
- hubspotutk
-->
<ruleset name="HubSpot" default_off='failed ruleset test'>
<target host="static.hsappstatic.net" />
<target host="hubspot.com" />
<target host="*.hubspot.com" />
<target host="cdn.blog.hubspot.com" />
<target host="*.hubspot.net" />
<target host="*.hubspotqa.com" />
<securecookie host="^(?:.*\.)?hubspot\.com$" name=".*" />
<rule from="^http://static\.hsappstatic\.net/"
to="https://static.hsappstatic.net/" />
<rule from="^http://((?:app|blog|developers|forms|info|js|login|marketplace|no-cache|sites-auth|static|static2cdn|track|tracking|www)\.)?hubspot\.com/"
to="https://$1hubspot.com/" />
<rule from="^http://cdn\.blog\.hubspot\.com/"
to="https://s3.amazonaws.com/cdn.hubspot.com/" />
<rule from="^http://cdn1\.hubspot\.com/"
to="https://s3.amazonaws.com/cdn1.hubspot.com/" />
<rule from="^http://forums\.hubspot\.com/"
to="https://hubspot3.vanillaforums.com/" />
<!-- - Doesn't work over https
- Redirects like so over http
-->
<rule from="^http://jobs\.hubspot\.com/"
to="https://www.hubspot.com/jobs/" />
<rule from="^http://cdn2\.hubspot\.net/"
to="https://cdn2.hubspot.net/" />
<rule from="^http://(js|no-cache|static)\.hubspotqa\.com/"
to="https://$1.hubspotqa.com/" />
</ruleset>