public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Warren Young <wyml@etr-usa.com>
To: cygwin@cygwin.com
Subject: Re: Proposed patch for web site: update most links to HTTPS
Date: Fri, 20 May 2016 20:47:00 -0000	[thread overview]
Message-ID: <01915E6D-0EEC-46D9-AD25-6A205358EE6E@etr-usa.com> (raw)
In-Reply-To: <20160520163624.GA22065@calimero.vinschen.de>

On May 20, 2016, at 10:36 AM, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> 
> On Apr 24 17:18, Brian Clifton wrote:
>> 
>> This patch (see below) will update most of the urls to HTTPS.
> 
> Since Cygwin.com redirects http requests to https anyway, all links
> to cygwin.com (or, FWIW, sourceware.org) will end up as https requests
> anyway.

Additionally, cygwin.com is using HSTS with a half-year expiration time, which means you’ll only visit via HTTP *once*, ever, unless you stop visiting cygwin.com for over half a year.  Excepting that case, any HSTS-compliant web client will use HTTPS even if you type HTTP.

  https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security

You can fix the remaining TOFU problem with the EFF’s “HTTPS Everywhere” plugin for Firefox, Chrome, and Opera:

  https://www.eff.org/HTTPS-everywhere
  https://en.wikipedia.org/wiki/Trust_on_first_use
  https://www.eff.org/https-everywhere/atlas/domains/cygwin.com.html

> wouldn't it make sense then to avoid absolute links
> to cygwin.com and rather convert them to relative links

Internal links within the docs should always use relative URLs, but external links should be absolute.

Why?  Install cygwin-doc, then say:

    $ info cygwin-ug-net

Now drill down to Cygwin Overview > A brief history of the Cygwin project.  The first cygwin.com link (to the ML) should be absolute, but the second (to using-utils.html) should be relative so info(1) can follow it.

(Actually, the problem with the second link is that it’s probably using the wrong DocBook link type, so it’s forced to consider it a web link, instead of realizing that it can resolve it as an internal cross-reference.)
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2016-05-20 20:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25  0:05 Brian Clifton
2016-04-25  0:29 ` Andrey Repin
2016-04-25  5:50   ` Brian Clifton
2016-04-25  6:10     ` Andrey Repin
2016-04-25 13:20       ` Adam Dinwoodie
2016-04-25 17:41         ` Andrey Repin
2016-04-26 10:17           ` Csaba Raduly
2016-04-25 19:59         ` Nellis, Kenneth
2016-04-25 20:46           ` Vince Rice
2016-04-25 23:18             ` Brian Clifton
2016-04-26 19:19               ` Achim Gratz
2016-04-27 10:18         ` Linda Walsh
2016-05-20 16:36 ` Corinna Vinschen
2016-05-20 20:47   ` Warren Young [this message]
2016-05-22  0:30   ` Brian Clifton
2016-05-23 10:35     ` Corinna Vinschen
2016-05-24 12:42       ` Warren Young
2016-05-24 16:59         ` Corinna Vinschen
2016-05-24 18:55           ` Warren Young
2016-06-12 10:13       ` Brian Clifton
2016-06-14 19:20         ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01915E6D-0EEC-46D9-AD25-6A205358EE6E@etr-usa.com \
    --to=wyml@etr-usa.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).