GNU bug report logs -
#73133
29.2; EWW fails to render some webpages
Previous Next
Reported by: Ganimard <ganimard <at> tuta.io>
Date: Mon, 9 Sep 2024 04:09:03 UTC
Severity: normal
Found in version 29.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 9 Sep 2024 23:06:56 -0700
> From: Jim Porter <jporterbugs <at> gmail.com>
>
> On 9/8/2024 1:52 PM, Ganimard via Bug reports for GNU Emacs, the Swiss
> army knife of text editors wrote:
> > I have recently discovered the website gastonle.ru, however it does not
> > render with Emacs Web Wowser. It appears to be a relatively simple
> > website and I cannot see what would prohibit it from rendering.
>
> Checking that page via curl, it appears that it doesn't return a
> Content-Type header. In the absence of that header, EWW assumes that the
> page is plain text.
>
> > I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 28.1
> > but it also fails to render. This therefore appears to be a bug in EWW.
>
> From my reading of RFC9110[1], this is *technically* a bug (we should
> assume application/octet-stream, not text/plain), but that wouldn't fix
> the rendering here; it would probably make things worse. However, per
> the RFC, EWW would be within its rights to guess that the page is HTML,
> e.g. by checking for "<!doctype html>". It also recommends having that
> be an option that can be disabled, which is reasonable (and in keeping
> with Emacs's design principles anyway).
>
> [1] https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5
Thanks. Would someone like to submit a patch along these lines?
This bug report was last modified 261 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.