emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] ox-html.el: Use HTTPS for link to W3 HTML validator
@ 2020-03-15  9:32 Augustin Fabre
  2020-03-15 16:00 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Augustin Fabre @ 2020-03-15  9:32 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 126 bytes --]

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: patch --]
[-- Type: text/x-diff, Size: 903 bytes --]

From bb0e5029249e0b19b17cf833fec480c21518dc52 Mon Sep 17 00:00:00 2001
From: Augustin Fabre <augustin@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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 658 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ox-html.el: Use HTTPS for link to W3 HTML validator
  2020-03-15  9:32 [PATCH] ox-html.el: Use HTTPS for link to W3 HTML validator Augustin Fabre
@ 2020-03-15 16:00 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-03-15 16:00 UTC (permalink / raw)
  To: Augustin Fabre; +Cc: emacs-orgmode

Hello,

Augustin Fabre <augustin@augfab.fr> writes:

> 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.

Applied. Thank you!

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-15 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15  9:32 [PATCH] ox-html.el: Use HTTPS for link to W3 HTML validator Augustin Fabre
2020-03-15 16:00 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).