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: Sat, 21 Sep 2024 10:12:22 -0700 Message-ID: <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> References: <86plox4bef.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28275"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73133@debbugs.gnu.org, ganimard@tuta.io To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 21 19:14:09 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 1ss3gO-0007EC-R7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Sep 2024 19:14:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ss3g0-0004O1-3q; Sat, 21 Sep 2024 13:13:44 -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 1ss3fy-0004Ns-Pk for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 13:13:42 -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 1ss3fy-0002hh-GH for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 13:13:42 -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:From:References:MIME-Version:Date:To:Subject; bh=PCsLOiH8gm1+7uv+j8kHrxozmOzPDZswOYdlzO75diE=; b=VNt9URdOm3CxoVWQD22IWIUjD1C30U1if9TpOCeLEtIveoad20USrC2wOfX7SqYUxxbhxwMOYVvygnKWMP1vB8wi+i13nV/h5js8+LdKa//Hn55K+FWHChTbhGbANSVFoY73TpONl4FKy5YpPbKqBX/1oSlDozBNI4LtrNMgSOzRSGq8geaIvALOgeQ+QQ8yOnQL/aP2XtNgh1oTyYRcMwXgLdnFMaY+htZFWpP6P2+XkLE28/aFUZgFSGqTAd0DtRd9KcZUKtHV66LCrkSf4NVIkD5eTlFQ0nx/5ifpfyXxwGHhICIH5z/KFo2GOUTykRhogcyuEUVlEMElepp/TQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ss3gH-0003wD-Tl for bug-gnu-emacs@gnu.org; Sat, 21 Sep 2024 13:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Sep 2024 17:14:01 +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.172693883115108 (code B ref 73133); Sat, 21 Sep 2024 17:14:01 +0000 Original-Received: (at 73133) by debbugs.gnu.org; 21 Sep 2024 17:13:51 +0000 Original-Received: from localhost ([127.0.0.1]:40281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss3g7-0003vc-84 for submit@debbugs.gnu.org; Sat, 21 Sep 2024 13:13:51 -0400 Original-Received: from mail-pg1-f169.google.com ([209.85.215.169]:49482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss3g4-0003vM-En for 73133@debbugs.gnu.org; Sat, 21 Sep 2024 13:13:49 -0400 Original-Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-7ae3d7222d4so2567421a12.3 for <73133@debbugs.gnu.org>; Sat, 21 Sep 2024 10:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726938742; x=1727543542; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=PCsLOiH8gm1+7uv+j8kHrxozmOzPDZswOYdlzO75diE=; b=O3pUVfRU6ETDpqex8oT9sx7c1rr3D8l88hRqPCU3GLxrqpaFs5GPZxDTKcK8FTw7GM 5NAiTZI0kBTBMhma601EJvjUTGi/ECpDWtqwFnl6wqln2Fx647y/vn6IRH/B6J9ACGvI OIyRGt/c5/TVkNqzns5SuebMj9QbdkAnkWJyEc8m2nLna/Bd0DEc+X8HYf/4n2v0uOAt FixXmvYiJ+AVj/M4TlDObnYnq7ABYvxiUXXmT0JVg23MggM5m15lmOuH4m03jv9Qv8V5 F2P9oHmw8BKHU3NgKZ0qu+Lwigslh7Doi5RAVJzFrQ2GcFYZE+/OznN2uR40BK5uivll Xk+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726938742; x=1727543542; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PCsLOiH8gm1+7uv+j8kHrxozmOzPDZswOYdlzO75diE=; b=lQwYBvwZ+JMwfJDkE6eYszQxIii64m3WIxMgsW0dM4fnM3uspxE+/BCfP2KULI6LyE gcSPveu6lcVmjenyZBnALyC7tlHoXqN98NIUnbxDcELC5cUPN9qODfIDopaqBuAlwdXx syeRn97M74p5DkYgXcTip+jQTNvCnYcysmbMhIbUxKbWglBzG6b1a1O+VwdRX1xkQocz VSh74beWhUW4FaUBMWzuEFvngINknDqmYlvnGrMibL2QVvHv2cSFBmvjF8lSfPOTMurT ZgtoogZKFLowJLVsnb+tK8zGIgYEkWmBuYvPzUcShfnpRmpylZ8IQ0zhd5+H9svdugYK 8zpw== X-Gm-Message-State: AOJu0Yxqw8Mn7PqY7o+wscpamIosIak8tzwdyuzMa7/nZKna7YrEPeCH TdUY79WPj4SHe3gkO3zkYG0ZtYh3lnhQfjPwLtxlFDyvqh8SwjBt X-Google-Smtp-Source: AGHT+IGGdqJTDEFbxG8qgKmdV3CxxB4iHvjOnWiYPMu8qwDMigaicbkgADgkH+zRSufYRrfVajpshQ== X-Received: by 2002:a05:6a21:1690:b0:1cf:6625:f08 with SMTP id adf61e73a8af0-1d30a9d8559mr10107332637.45.1726938741930; Sat, 21 Sep 2024 10:12:21 -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 d2e1a72fcca58-71944bc33b0sm11457615b3a.193.2024.09.21.10.12.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Sep 2024 10:12:21 -0700 (PDT) Content-Language: en-US In-Reply-To: <86plox4bef.fsf@gnu.org> 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:292201 Archived-At: On 9/21/2024 2:13 AM, Eli Zaretskii wrote: >> Date: Mon, 9 Sep 2024 23:06:56 -0700 >> From: Jim Porter >> >> 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 > > Thanks. Would someone like to submit a patch along these lines? It'll probably be a couple weeks until I have time to write a patch, but if no one has done so by then, I'll look into it.