unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: payas <relekarpayas@gmail.com>
Cc: luangruo@yahoo.com, 54246@debbugs.gnu.org
Subject: bug#54246: 29.0.50; EWW not showing images in some websites
Date: Sat, 05 Mar 2022 20:17:58 +0100	[thread overview]
Message-ID: <87a6e4fbtl.fsf@gnus.org> (raw)
In-Reply-To: <87ilss2seb.fsf@gmail.com> (payas's message of "Sat, 05 Mar 2022 23:27:57 +0530")

payas <relekarpayas@gmail.com> writes:

> Also about the images being WebP/AVIF, I see an explicit image tag
> with `jpeg' file as src, can eww not prioritise that?

The problem is more specific.  Put this in a file an open with
eww-open-file, and eww won't be able to display it:

<img src="https://cdn.christine.website/file/christine-static/stickers/mara/hmm.png" alt="Mara is hmm">

And the reason is that the web server responds to the fetch with an 401
Unauthorized.  So the CDN is just denying the requests.  I.e., it's a
server issue, not an Emacs issue.

(I don't know why it's doing this, though -- it's probably using AI to
determine if the request is "legitimate" or not, and some combination of
headers we're sending is tripping it.)

Ah!  It's Cloudflare:

CF-Cache-Status: BYPASS
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"

They have a lot of issues like this.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-03-05 19:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-04 16:26 bug#54246: 29.0.50; EWW not showing images in some websites payas
2022-03-04 18:47 ` bug#54246: Payas Relekar
2022-03-05  0:42 ` bug#54246: 29.0.50; EWW not showing images in some websites Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-05  3:21   ` Payas Relekar
2022-03-05  3:35     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-05  6:48     ` Eli Zaretskii
     [not found]       ` <CAB6f121uy8qv7uGahUzu2XdTVSNDZA3LE=2GijODRXjmi-Xbjw@mail.gmail.com>
2022-03-05  7:30         ` Eli Zaretskii
2022-03-05 17:57           ` payas
2022-03-05 19:17             ` Lars Ingebrigtsen [this message]
2022-03-05 21:23               ` payas
2022-03-05 21:29                 ` Lars Ingebrigtsen
2022-03-06 16:42                   ` Lars Ingebrigtsen
2022-03-07  9:39                     ` payas

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87a6e4fbtl.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54246@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=relekarpayas@gmail.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.
Code repositories for project(s) associated with this public inbox

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