From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tobias Geerinckx-Rice via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" Newsgroups: gmane.lisp.guile.bugs Subject: bug#53201: string->uri-reference rejects domain names with final =?UTF-8?Q?=E2=80=98.=E2=80=99?= Date: Wed, 12 Jan 2022 03:56:17 +0100 Message-ID: <877db5ldok.fsf@nckx> Reply-To: Tobias Geerinckx-Rice Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7978"; mail-complaints-to="usenet@ciao.gmane.io" To: 53201@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Jan 12 06:34:31 2022 Return-path: Envelope-to: guile-bugs@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 1n7WHG-0001tI-RL for guile-bugs@m.gmane-mx.org; Wed, 12 Jan 2022 06:34:30 +0100 Original-Received: from localhost ([::1]:36778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7WHF-0005rL-B4 for guile-bugs@m.gmane-mx.org; Wed, 12 Jan 2022 00:34:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7WGp-0005qi-9f for bug-guile@gnu.org; Wed, 12 Jan 2022 00:34:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7WGo-0003Hb-LH for bug-guile@gnu.org; Wed, 12 Jan 2022 00:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7WGo-0002wp-AO for bug-guile@gnu.org; Wed, 12 Jan 2022 00:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 12 Jan 2022 05:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53201 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164196563011298 (code B ref -1); Wed, 12 Jan 2022 05:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jan 2022 05:33:50 +0000 Original-Received: from localhost ([127.0.0.1]:56038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7WGc-0002wA-0R for submit@debbugs.gnu.org; Wed, 12 Jan 2022 00:33:50 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:38412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7WGX-0002vy-GY for submit@debbugs.gnu.org; Wed, 12 Jan 2022 00:33:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7WGV-0005oS-Vj for bug-guile@gnu.org; Wed, 12 Jan 2022 00:33:44 -0500 Original-Received: from [2a02:c205:2020:6054::1] (port=41000 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7WGT-0003Fr-17 for bug-guile@gnu.org; Wed, 12 Jan 2022 00:33:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=Kgg6F0E7o5JYB j9GQyLfsQjU3l8HKr87/vilwiYy9zA=; h=date:subject:to:from; d=tobias.gr; b=VbOZOwzoU357CdkfH0JebpFIJLKoRFwZMjLsEr4/owyoOBYHpT5zu+gP9/Ywwk1+yU5K KqeGCPvEUWeqo7n9OES19OxYUZvp4tBS8Vg9nZe4vALCTYGjrqbyFPsOcooAW8J/CYXnm8 RmyCtCUsVkZXLPCj8rERWEUMpWzptJXfrEswSwj2DnJV/O2wAc5rwiHDePSfIZthPz8gca p5tnGb1bcF0qW3TAjg9258WqguOwqORwwAISw+EwNIElLq9IaLsYuEz8WUD5TIgTOEjFzE vwvxlqwa1gbW76smmCpEYZGh+msvm95hH7/jRcKBZILBcgeOu8Qq6q+pQvNnJLog== Original-Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id b126cff3 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Wed, 12 Jan 2022 05:33:36 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10237 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Guilers, What the subject says :-) Omitting the final dot is optional (and=20 common), not mandatory. scheme@(guile-user)> (string->uri-reference "http://x.org") $1 =3D #< =E2=80=A6 host: "x.org" =E2=80=A6> scheme@(guile-user)> (string->uri-reference "http://x.org.") $2 =3D #f ; wrong! This actually breaks redirects in the wild: Starting download [=E2=80=A6] From=20 https://pyropus.ca/software/getmail/old-versions/getmail-5.16.tar.gz... Bad uri-reference header component: https://pyropus.ca./software/getmail/old-versions/getmail-5.16.tar.gz Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYd5oew0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15fc4A/3vxSxEPLggOtdLGfj3lNJCfouOy3YO5jy2PYugP evlWAQD+JTQCfsOlPIn8uD/rv/KQZ1Gb5r0g/SWax/dhdmRdAg== =gyJt -----END PGP SIGNATURE----- --=-=-=--