unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35395: GUIX website redirections are failing
@ 2019-04-23 14:29 Boruch Baum
  2019-04-23 14:45 ` Quiliro Ordonez
  2019-04-23 15:40 ` Tobias Geerinckx-Rice
  0 siblings, 2 replies; 7+ messages in thread
From: Boruch Baum @ 2019-04-23 14:29 UTC (permalink / raw)
  To: 35395

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.

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/

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

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

* bug#35395: GUIX website redirections are failing
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Quiliro Ordonez @ 2019-04-23 14:45 UTC (permalink / raw)
  To: 35395

El 2019-04-23 14:29, Boruch Baum escribió:
> 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.
> 
> 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/

On Epiphany on top of GuixSD they all open for me.

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

* bug#35395: GUIX website redirections are failing
  2019-04-23 14:29 bug#35395: GUIX website redirections are failing Boruch Baum
  2019-04-23 14:45 ` Quiliro Ordonez
@ 2019-04-23 15:40 ` Tobias Geerinckx-Rice
  2019-04-25  8:53   ` Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-04-23 15:40 UTC (permalink / raw)
  To: 35395

[-- 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 --]

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

* bug#35395: GUIX website redirections are failing
  2019-04-23 14:45 ` Quiliro Ordonez
@ 2019-04-23 21:12   ` Quiliro Ordonez
  0 siblings, 0 replies; 7+ messages in thread
From: Quiliro Ordonez @ 2019-04-23 21:12 UTC (permalink / raw)
  To: 35395

El 2019-04-23 14:45, Quiliro Ordonez escribió:
> El 2019-04-23 14:29, Boruch Baum escribió:
>> 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.
>>
>> 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/
> 
> On Epiphany on top of GuixSD they all open for me.

Tested now
https://www.gnu.org/software/guix/manual/html_node/Features.html on
newly installed Emacs-w3m. It redirected correctly to
https://www.gnu.org/software/guix/manual/en/html_node/Features.html . Do
you still have problems? I do not. Maybe there is a diference between
foreign distro and GuixSD.

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

* bug#35395: GUIX website redirections are failing
  2019-04-23 15:40 ` Tobias Geerinckx-Rice
@ 2019-04-25  8:53   ` Ludovic Courtès
  2019-04-28  9:20     ` Boruch Baum
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2019-04-25  8:53 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: Boruch Baum, 35395

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

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

Exactly.

Can anyone reproduce the problem, though?  Both emacs-w3m and IceCat
follow redirects just fine for me.

That said, we should at least change the references used on the web site
(home page, help page, etc.) to use the “real” URL with /en.  Any
takers?

Ludo’.

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

* bug#35395: GUIX website redirections are failing
  2019-04-25  8:53   ` Ludovic Courtès
@ 2019-04-28  9:20     ` Boruch Baum
  2019-05-04  9:16       ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Boruch Baum @ 2019-04-28  9:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 35395

On 2019-04-25 10:53, Ludovic Courtès wrote:
> Tobias Geerinckx-Rice <me@tobias.gr> skribis:
>
> > The fix is to send out real (HTTP 307/302) redirections, but the
> > problem might be that gnu.org won't let us.
>
> Exactly.
>
> Can anyone reproduce the problem, though?  Both emacs-w3m and IceCat
> follow redirects just fine for me.
>
> That said, we should at least change the references used on the web site
> (home page, help page, etc.) to use the “real” URL with /en.  Any
> takers?

Hi Ludo’,

If you're having problems reproducing the issue, it may be because some
security setting I have for my browsing (some setting in emacs-w3m and
some extension in firefox). If it really is necessary, I can try to
trace it, but I have each 'loaded up' quite heavily and it seems that
since Tobias has already identified the cause as an HTML "special"ness,
there's no need.

BTW, for some reason debbugs.gnu.org didn't automatically subscribe me
to this thread, even though I authored it. You seem to have actively
cc'ed me, but I needed to navigate to the bugreport URI to see the input
from Tobias and Quiliro.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

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

* bug#35395: GUIX website redirections are failing
  2019-04-28  9:20     ` Boruch Baum
@ 2019-05-04  9:16       ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2019-05-04  9:16 UTC (permalink / raw)
  To: Boruch Baum; +Cc: 35395-done

Hello,

Most redirects are now gone (that is, the web site itself doesn’t refer
to them), so I think we can close this bug.

Thanks,
Ludo’.

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

end of thread, other threads:[~2019-05-04  9:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2019-04-25  8:53   ` Ludovic Courtès
2019-04-28  9:20     ` Boruch Baum
2019-05-04  9:16       ` Ludovic Courtès

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