From unknown Fri Jun 20 18:24:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39410 <39410@debbugs.gnu.org> To: bug#39410 <39410@debbugs.gnu.org> Subject: Status: [PATCH] gnu: netsurf: Fix entity parsing. Reply-To: bug#39410 <39410@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:24:02 +0000 retitle 39410 [PATCH] gnu: netsurf: Fix entity parsing. reassign 39410 guix-patches submitter 39410 Eric Bavier severity 39410 normal tag 39410 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 04 00:04:27 2020 Received: (at submit) by debbugs.gnu.org; 4 Feb 2020 05:04:27 +0000 Received: from localhost ([127.0.0.1]:42529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyqNq-0006CP-Cl for submit@debbugs.gnu.org; Tue, 04 Feb 2020 00:04:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:42232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyqNo-0006CG-E2 for submit@debbugs.gnu.org; Tue, 04 Feb 2020 00:04:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40781) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyqNn-0001O8-83 for guix-patches@gnu.org; Tue, 04 Feb 2020 00:04:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyqNm-00032a-1u for guix-patches@gnu.org; Tue, 04 Feb 2020 00:04:19 -0500 Received: from mout01.posteo.de ([185.67.36.141]:43473) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iyqNl-0002mm-QS for guix-patches@gnu.org; Tue, 04 Feb 2020 00:04:17 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D393A160060 for ; Tue, 4 Feb 2020 06:04:15 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48BXfk3jjCz6tm7; Tue, 4 Feb 2020 06:04:14 +0100 (CET) From: Eric Bavier To: guix-patches@gnu.org Subject: [PATCH] gnu: netsurf: Fix entity parsing. Date: Mon, 3 Feb 2020 23:06:09 -0600 Message-Id: <20200204050609.27557-1-bavier@member.fsf.org> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.141 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Eric Bavier From: Eric Bavier Follow-up to commit 31afa654c58cd7aa8bd11a771fa6eabcd766d443. * gnu/packages/web.scm (netsurf)[arguments]: In 'adjust-welcome' phase, e= nsure html entities are parsed and find their way back to the output. --- gnu/packages/web.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index f6ae958ae3..60fd5cfd0f 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -6,7 +6,7 @@ ;;; Copyright =C2=A9 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus ;;; Copyright =C2=A9 2018 Raoul Jean Pierre Bonnal ;;; Copyright =C2=A9 2015 Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer -;;; Copyright =C2=A9 2015, 2016, 2017, 2018, 2019 Eric Bavier +;;; Copyright =C2=A9 2015, 2016, 2017, 2018, 2019, 2020 Eric Bavier ;;; Copyright =C2=A9 2015 Eric Dvorsak ;;; Copyright =C2=A9 2016 Sou Bunnbu ;;; Copyright =C2=A9 2016 Jelle Licht @@ -5075,12 +5075,19 @@ w3c webidl files and a binding configuration file= .") ;; Leave the DOCTYPE header as is. (display (read-line in 'concat) out) (sxml->xml - (let rec ((sxml (xml->sxml in))) + (let rec ((sxml (xml->sxml in + #:default-entity-handler + (lambda (port name) + (string-append "" + (symbol->string name) + ""))))) ;; We'd like to use sxml-match here, but it can't ;; match against generic tag symbols... (match sxml (`(div (@ (class "links")) . ,rest) '()) + (`(ENTITY ,ent) + `(*ENTITY* ,ent)) ((x ...) (map rec x)) (x x))) --=20 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 04 06:03:08 2020 Received: (at 39410) by debbugs.gnu.org; 4 Feb 2020 11:03:08 +0000 Received: from localhost ([127.0.0.1]:42654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyvz1-0001tu-QJ for submit@debbugs.gnu.org; Tue, 04 Feb 2020 06:03:08 -0500 Received: from flashner.co.il ([178.62.234.194]:59856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyvyz-0001tP-Mj for 39410@debbugs.gnu.org; Tue, 04 Feb 2020 06:03:06 -0500 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id BB48340045; Tue, 4 Feb 2020 11:02:59 +0000 (UTC) Date: Tue, 4 Feb 2020 13:02:28 +0200 From: Efraim Flashner To: Eric Bavier Subject: Re: [bug#39410] [PATCH] gnu: netsurf: Fix entity parsing. Message-ID: <20200204110228.GC19864@E5400> References: <20200204050609.27557-1-bavier@member.fsf.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WplhKdTI2c8ulnbP" Content-Disposition: inline In-Reply-To: <20200204050609.27557-1-bavier@member.fsf.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39410 Cc: 39410@debbugs.gnu.org, Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --WplhKdTI2c8ulnbP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I assume this fixes building netsurf on master. Any idea why netsurf builds on core-updates without this patch? --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --WplhKdTI2c8ulnbP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl45T0QACgkQQarn3Mo9 g1EVgg//doQLZaJj3dbgVGtdd2HZIqmCHy8+4zB93T3h1rFE1d3XPSueI0ApDoTg 6M0uvsmk2JGYyVcBsxjqE4U90mQ4PeNVxGtb27tDu3wQtO4VMS2gkI9n7DGOiPrI Ga0jRhCfd2gKqgK46oI5Yc9p1T16HxADBuS7q4EUMYG4QOdhJSw8tL8w5/hqeIai vcWFlOHIRSmB5n33spzmgiVMVFRAFY6OBYb5iFMJvBpY0M2/8k9eoBM/bHTWA26n NR7E5PrIiQuPmbLoeKvLimoA8OlsSD3eOTMaOlbRnQWll0Wc6wnEQD/76d/9eofG 3gKZO9zdziAlbqK72/k/1HUu0/QyXu0EJEFEBqgkxzmlXiygX53XKQRqC0j9B5U0 Ey0TBWPg2qTyPoiiiAFjdBU4j97DtQcS45zwRihScbu+p9xwZjCqczcdIvEDbNae PIrRwM9rTyA6c2x/koP5oojJ0myjVFJfe0ZnXMf1Zw1yf5oun3w7LIIM5kjvV1Jl K3KNcXB9XtP+j6ztUGTux7oTocy9loC1acqlkJBTwTu+WNgpRf3r4ZjMHYks1f7x Pbqae2rSKv+mTlUeVjT/LmCOUa72ONfiZYqV3JgV2ZequG92nSbXpoHXy6fptjkP 8Uge2+ymf1xHdSMeYIfAcmJbqB9PjghBZib7SVkS65X4vS2KOVQ= =gziB -----END PGP SIGNATURE----- --WplhKdTI2c8ulnbP-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 04 07:26:05 2020 Received: (at 39410-done) by debbugs.gnu.org; 4 Feb 2020 12:26:06 +0000 Received: from localhost ([127.0.0.1]:42737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyxHJ-0003xA-Mo for submit@debbugs.gnu.org; Tue, 04 Feb 2020 07:26:05 -0500 Received: from flashner.co.il ([178.62.234.194]:55804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyxHH-0003wi-2l for 39410-done@debbugs.gnu.org; Tue, 04 Feb 2020 07:26:04 -0500 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 321A94002B; Tue, 4 Feb 2020 12:25:57 +0000 (UTC) Date: Tue, 4 Feb 2020 14:25:26 +0200 From: Efraim Flashner To: Eric Bavier Subject: Re: [bug#39410] [PATCH] gnu: netsurf: Fix entity parsing. Message-ID: <20200204122526.GH19864@E5400> References: <20200204050609.27557-1-bavier@member.fsf.org> <20200204110228.GC19864@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="K1n7F7fSdjvFAEnM" Content-Disposition: inline In-Reply-To: <20200204110228.GC19864@E5400> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39410-done Cc: 39410-done@debbugs.gnu.org, Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --K1n7F7fSdjvFAEnM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 04, 2020 at 01:02:28PM +0200, Efraim Flashner wrote: > I assume this fixes building netsurf on master. Any idea why netsurf > builds on core-updates without this patch? I take it back, with the recent merging of master into core-updates netsurf failed to build for me. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --K1n7F7fSdjvFAEnM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl45YrYACgkQQarn3Mo9 g1HxnxAAihqLNqd7/nOJ0s26Yv8TTLwH0xNCfOvpyFrT0ApuJRfBEY/U4hwFQXYD yrvYuljwICv6I19WHka3G0ap6WHIe6JEMbQzkIrfaxWErBPtw/A1xCE6Gqd9JH/R /bRbgVtOV8T/xYPzEZTuPySy12MyrMpVSa0+XyCP56VLXRbrAv29pzoYor9hYcpu h/RXDkZJZI5kzsAVTiqJwNNw0Uw6TzlpYWEjitjHUWJmR3mBgKA8FiS13OGlkqcJ ajxN0RgNFxk0A8cgpCWVrRNlqOp+KkdQKj2J/Qnm7j+cJ9aigyyvl08x5d+k1bTP 1iKorZy3l57lPv7KS8EIfj+CuGuKccd2BylxaeJDd0p7BfSb1ARE77KXD6EHd6K0 1HkryiHQKWNMxDQMV7QyUtFdOLaqzbZEsky2uVTOO1B2TP3C/QhsJLJjuOsYdOWb hD18Lf1rzuCxnVCHF7eqmPs00qgcwGxnPq+FUtrpX1vHvQK8beRY/HDRidr5+57e KYk9OlZPMANb0/b7lJk4QQ3xiNa7pa8FJ7k7k10XTkr4mjqOMD1miMUZ0iEgqU9m +647q3bZTO8oQ5eLsrCwbSTYdLiY1C7/HKoPYxq5OiTPk02Bh+rUl34HXQwFY2JO NGirU5FwmFmD0+zWl2qms6teP23IBmn//Yg0Kveu+Ztx4bklvbs= =sJYf -----END PGP SIGNATURE----- --K1n7F7fSdjvFAEnM-- From unknown Fri Jun 20 18:24:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 04 Mar 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator