Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 50c1e44

Browse files
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‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /