emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode 0b25cb5 327/495: Generate HTTPS URL for playground


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 0b25cb5 327/495: Generate HTTPS URL for playground entry
Date: Sat, 7 Aug 2021 09:05:41 -0400 (EDT)

branch: elpa/go-mode
commit 0b25cb546efbfb411151bed179ede82c2952d2c7
Author: Dominik Honnef <dominik@honnef.co>
Commit: Dominik Honnef <dominik@honnef.co>

    Generate HTTPS URL for playground entry
    
    Also update changelog.
---
 NEWS       | 3 +++
 go-mode.el | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 0931946..1749328 100644
--- a/NEWS
+++ b/NEWS
@@ -92,6 +92,9 @@ go-mode-1.4.0 (???)
    tab is tab-width columns wide. This breaks jumping to the right
    columns from compilation-mode
 
+ * Use HTTPS when talking to the Go Playground. Not only is it safer,
+   it is required nowadays.
+
 go-mode-1.3.1 (2015-07-03)
 
  * The 1.3.0 release forgot to update the version in the package
diff --git a/go-mode.el b/go-mode.el
index f831dcc..77e736c 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1336,7 +1336,7 @@ Playground URL."
                            (signal 'go-play-error (cdr arg)))
                           (t
                            (re-search-forward "\n\n")
-                           (let ((url (format "http://play.golang.org/p/%s";
+                           (let ((url (format "https://play.golang.org/p/%s";
                                               (buffer-substring (point) 
(point-max)))))
                              (when go-play-browse-function
                                (funcall go-play-browse-function url)))))))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]