summaryrefslogtreecommitdiff
path: root/lisp/url/url-handlers.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-09-13 15:52:52 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-09-13 15:54:37 -0700
commitbc511a64f6da9ab51acc7c8865e80c4a4cb655c2 (patch)
treeef96fb35c034096404b7edaa25982023f38cf84f /lisp/url/url-handlers.el
parent5da53a01912c2f5d46f5df4ef8cc13a34b5017d4 (diff)
downloademacs-bc511a64f6da9ab51acc7c8865e80c4a4cb655c2.tar.gz
Prefer HTTPS to FTP and HTTP in documentation
Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
Diffstat (limited to 'lisp/url/url-handlers.el')
-rw-r--r--lisp/url/url-handlers.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el
index ba3062308ec..55a478ad034 100644
--- a/lisp/url/url-handlers.el
+++ b/lisp/url/url-handlers.el
@@ -17,7 +17,7 @@
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
@@ -341,7 +341,7 @@ if it had been inserted from a file named URL."
(unless buffer (signal 'file-error (list url "No Data")))
(with-current-buffer buffer
;; XXX: This is HTTP/S specific and should be moved to url-http
- ;; instead. See http://debbugs.gnu.org/17549.
+ ;; instead. See https://debbugs.gnu.org/17549.
(when (bound-and-true-p url-http-response-status)
;; Don't signal an error if VISIT is non-nil, because
;; 'insert-file-contents' doesn't. This is required to
@@ -354,7 +354,7 @@ if it had been inserted from a file named URL."
(< url-http-response-status 300)))
(let ((desc (nth 2 (assq url-http-response-status url-http-codes))))
(kill-buffer buffer)
- ;; Signal file-error per http://debbugs.gnu.org/16733.
+ ;; Signal file-error per https://debbugs.gnu.org/16733.
(signal 'file-error (list url desc))))))
(url-insert-buffer-contents buffer url visit beg end replace)))