W3 supports HTTPS but doesn't redirect HTTP requests to HTTPS, so we might as well use the HTTPS link directly.
--
Augustin

From bb0e5029249e0b19b17cf833fec480c21518dc52 Mon Sep 17 00:00:00 2001
From: Augustin Fabre <augus...@augfab.fr>
Date: Sun, 15 Mar 2020 09:44:46 +0100
Subject: [PATCH] ox-html.el: Use HTTPS for link to W3 HTML validator

* lisp/ox-html.el (org-html-validation-link): Use HTTPS link to W3
HTML validator.

TINYCHANGE
---
 lisp/ox-html.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 319f178cb..5419ed50d 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1279,7 +1279,7 @@ like that: \"%%\"."
 		(string :tag "Format string"))))
 
 (defcustom org-html-validation-link
-  "<a href=\"http://validator.w3.org/check?uri=referer\";>Validate</a>"
+  "<a href=\"https://validator.w3.org/check?uri=referer\";>Validate</a>"
   "Link to HTML validation service."
   :group 'org-export-html
   :type 'string)
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to