From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#73133: 29.2; EWW fails to render some webpages Date: Mon, 9 Sep 2024 23:06:56 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26621"; mail-complaints-to="usenet@ciao.gmane.io" To: Ganimard , 73133@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 10 08:09:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1snu41-0006iw-JJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Sep 2024 08:09:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snu3l-000433-Rr; Tue, 10 Sep 2024 02:09:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snu3e-0003yX-Le for bug-gnu-emacs@gnu.org; Tue, 10 Sep 2024 02:08:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1snu3e-0002XZ-C2 for bug-gnu-emacs@gnu.org; Tue, 10 Sep 2024 02:08:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:From:MIME-Version:Date:To:Subject; bh=hf+W5HQx9uKDLz/cD47bB6EocV85Oc8BfguVh/aIyEo=; b=NBMRLYqadyQ2bZ3CyxtazFHYBtblFvUqkvJT/lFJtpMxyi7vmQGddPr5vDzaAWBpfdX1Y2Rd0Wq2do3CPEHI655w1y9Iri9LARKy/dCyj3bKcTYpUM+B33UN1VfnKcKsarhnCdDuZpeiWL1Y+i/Axht4AegbNSp7aL/s92xzj2mn+bcUFp3ZQ9RrvuGU2eIvpwoQhdxMbjS86EMj+Sprbqiwr7ZxX5YxOvPnsHkObSokhKdJajFeDSCvPpwWuHf2Z6oDqbFEJ1uJC07pA9eIo2gIq3CAeyd+/dTCpMVYxxqz03BOZSCySH+3YcZNLpkwI67+3CeaPkJa5HdKwAeYfg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snu3i-0006kn-FE for bug-gnu-emacs@gnu.org; Tue, 10 Sep 2024 02:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Sep 2024 06:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs Original-Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172594849025900 (code B ref 73133); Tue, 10 Sep 2024 06:09:02 +0000 Original-Received: (at 73133) by debbugs.gnu.org; 10 Sep 2024 06:08:10 +0000 Original-Received: from localhost ([127.0.0.1]:34674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snu2s-0006jg-2f for submit@debbugs.gnu.org; Tue, 10 Sep 2024 02:08:10 -0400 Original-Received: from mail-pl1-f175.google.com ([209.85.214.175]:60575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snu2p-0006jH-Lh for 73133@debbugs.gnu.org; Tue, 10 Sep 2024 02:08:08 -0400 Original-Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2059204f448so42396505ad.0 for <73133@debbugs.gnu.org>; Mon, 09 Sep 2024 23:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725948417; x=1726553217; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:from:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=hf+W5HQx9uKDLz/cD47bB6EocV85Oc8BfguVh/aIyEo=; b=ZleBhiJwRVrjpCbpFfNducFwSaYzjrlUji07QiZnbmgVcOBrh1x/up6QfuZ2sGCOer vaS088zrCwcHRO0d1kE9XkhENQmqdA5ClE48WhrP1FcDG4Sof2JXV8GCIrhBLa3p10M3 E8qQrYtOEmL1C/JjduutNe0M2xAJHpj5XYglb53BiooE4lG0PQKeAileM0xfyWIhjqiB x8GFajCIDYLFG6AFO3uAIb5gfS4ttW/UrdwcK2kLf8OIs0xu2bI36TzbUDOxv3bW9dcG FTdDXwWX3Y/j5TAjGQ+Qu5ZSB6lDRH9SE4YnJU1k1oOas4vYh17qiKDnU8GBydbNpg9L bUuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725948417; x=1726553217; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:from:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hf+W5HQx9uKDLz/cD47bB6EocV85Oc8BfguVh/aIyEo=; b=Lv9R/bnUc5UbFO2M+LG6rkR9rFeT1kEbW9b95a31fSfomYVAavC0ltIJI/efQLw2YV 2pZXmo108nJ0RkIxe9IUGPG54YC6DgCtftnkEIChNCjhikjwq0iHIpNZzTc7g9baQ63m NUIcPJA8/yddlLSUPjWymKQPG0mFtnUPld/u2W30RUlOCCZM4SfcOFPe0bQEkstqOJ19 /u6+M4FZlXGYGK9ZCAsb8JxwOOlOHhcOJ8IXkxBtQImxcDU1gb2lJXeh5getBuSpQPh3 Kdu6eGm/n/9Mv3fyLQVtPubFHeYArpls9DdLlYfn62C9P/sCMNwtpo/hrmROcEWNWP2d z0hw== X-Forwarded-Encrypted: i=1; AJvYcCUUW1sSzCsuLNHmg5WEttKLEPvv9NppjJCm77/87vD/gGKBl+3+mhKNexLD/36oZKiH5WaFUg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwqP1BLUyXiHMjtvaddat1j/lEN0kHUr/rzPAb+5fFFnUPhABZ4 7tbTkoAYcUs2IVCckZa8iA0BUUAT49Fj73SSC7Kq1Mj2hcfOtR3zsBjR3A== X-Google-Smtp-Source: AGHT+IFmqVFYZGsSkD+u7j6BfR6SP4ffNuz2ad01w5Td1kzHfrdZ1ifg8zy3GF3ruoqI84pdQfuLVA== X-Received: by 2002:a17:902:db0e:b0:202:508c:b5a6 with SMTP id d9443c01a7336-206f0613430mr189587075ad.46.1725948416975; Mon, 09 Sep 2024 23:06:56 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-20710e3368bsm42297405ad.95.2024.09.09.23.06.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Sep 2024 23:06:56 -0700 (PDT) X-Mozilla-News-Host: news://news.gmane.io Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291540 Archived-At: 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 "". 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