unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: 35395@debbugs.gnu.org
Subject: bug#35395: GUIX website redirections are failing
Date: Tue, 23 Apr 2019 17:40:56 +0200	[thread overview]
Message-ID: <875zr47mrb.fsf@nckx> (raw)
In-Reply-To: <20190423142900.ob7gkibb3grdsm4l@E15-2016.optimum.net>

[-- Attachment #1: Type: text/plain, Size: 1569 bytes --]

Boruch,

Boruch Baum wrote:
> The guix homepage[1] links to other pages[2][3] that claim 
> "Redirecting
> to the new page location... ", but they don't, at least not for 
> me using
> emacs-w3m and firefox-esr v60.

The links aren't broken, but implemented in a very… special way:

  ~ λ curl 
  https://www.gnu.org/software/guix/manual/html_node/Features.html
  <!DOCTYPE html>
  <html lang="en">
    <head>
      <meta charset="UTF-8" />
      <title>Page has moved! — GNU Guix</title>
      <noscript><meta http-equiv="refresh" content="0; 
      url=../en/html_node/Features.html"></noscript>
    </head>
    <body onload="window.location = 
    '../en/html_node/Features.html';">
    […]

I.e. inject arbitrary code into the user's browser and if it 
catches us, fall back to http-equiv hackery.  Not good!

The fix is to send out real (HTTP 307/302) redirections, but the 
problem might be that gnu.org won't let us.

Kind regards,

T G-R

> This is also the case from the guix 'help' page[4] link to the 
> system
> manual[5]. Other links[6][7] on that page do work.
>
> references:
> [1] https://www.gnu.org/software/guix/
> [2] 
> https://www.gnu.org/software/guix/manual/html_node/Features.html
> [3] 
> https://www.gnu.org/software/guix/manual/html_node/Using-the-Configuration-System.html
> [4] https://www.gnu.org/software/guix/help/
> [5] 
> https://www.gnu.org/software/guix/manual/html_node/GNU-Distribution.html
> [6] https://www.gnu.org/manual/
> [7] https://www.gnu.org/software/guix/manual/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  parent reply	other threads:[~2019-04-23 15:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-23 14:29 bug#35395: GUIX website redirections are failing Boruch Baum
2019-04-23 14:45 ` Quiliro Ordonez
2019-04-23 21:12   ` Quiliro Ordonez
2019-04-23 15:40 ` Tobias Geerinckx-Rice [this message]
2019-04-25  8:53   ` Ludovic Courtès
2019-04-28  9:20     ` Boruch Baum
2019-05-04  9:16       ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=875zr47mrb.fsf@nckx \
    --to=me@tobias.gr \
    --cc=35395@debbugs.gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.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).