Skip to content

Commit 50c1e44

Browse files
committed
Change EditorMeasurement to use secure connection (#548)
1 parent 567d3c9 commit 50c1e44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/VersionHandlerImpl/src/EditorMeasurement.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ public void Report(string reportUrl, string reportName) {
514514
if (String.IsNullOrEmpty(cookie.Key)) continue;
515515
// See https://developers.google.com/analytics/devguides/collection/protocol/v1
516516
var status = PortableWebRequest.DefaultInstance.Post(
517-
"http://www.google-analytics.com/collect",
517+
"https://www.google-analytics.com/collect",
518518
new[] {
519519
// Version
520520
new KeyValuePair<string, string>("v", "1"),

source/VersionHandlerImpl/unit_tests/src/EditorMeasurementTest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public void ReportWhenDisabled() {
366366
private KeyValuePair<string, string> CreateMeasurementEvent(
367367
string reportUrl, string reportName, string cookie) {
368368
return new KeyValuePair<string, string>(
369-
String.Format("http://www.google-analytics.com/collect" +
369+
String.Format("https://www.google-analytics.com/collect" +
370370
"?v=1" +
371371
"&tid={0}" +
372372
"&cid={1}" +

0 commit comments

Comments
 (0)