GNU bug report logs - #49085
Handle more unicode characters in uri-decode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Vivien Kraus <vivien@HIDDEN>; dated Fri, 18 Jun 2021 10:29:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 49085 <at> debbugs.gnu.org:


Received: (at 49085) by debbugs.gnu.org; 20 Jul 2021 13:54:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 20 09:54:55 2021
Received: from localhost ([127.0.0.1]:33258 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1m5qD0-0007yb-Qh
	for submit <at> debbugs.gnu.org; Tue, 20 Jul 2021 09:54:55 -0400
Received: from planete-kraus.eu ([89.234.140.182]:39740)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vivien@HIDDEN>) id 1m5qCu-0007xw-6l
 for 49085 <at> debbugs.gnu.org; Tue, 20 Jul 2021 09:54:53 -0400
Received: from planete-kraus.eu (localhost.lan [127.0.0.1])
 by planete-kraus.eu (OpenSMTPD) with ESMTP id 8c2540e1
 for <49085 <at> debbugs.gnu.org>; Tue, 20 Jul 2021 13:54:41 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h=
 message-id:subject:from:to:date:content-type:mime-version; s=*;
 bh=jBixZ252HsBMqw/To+3WPomIn/Y=; b=hM25Epg0hSSsNSOIB8wWKTIBzl7f
 WrLcp/g1FLhQjd78u+lO4ow0BGlr2vzDCE2nwbcH2N2r3q56Rfd5wk8PmFO1XLk+
 +bu4W2GvnUK4QkarRpzjvqAAo6DbGnjVf93TxnoYK+AJpBJphjAywcieJJbyCPUy
 6uZwO4NZxQ7djDY=
Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id e01786dc
 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO)
 for <49085 <at> debbugs.gnu.org>; Tue, 20 Jul 2021 13:54:39 +0000 (UTC)
Message-ID: <07ecac6cc7ec4a46ae24ec4c04d645306389968d.camel@HIDDEN>
Subject: Unicode in uri-decode: =?UTF-8?Q?we=E2=80=99re?= parsing IRIs, so
 NFC (unicode normalization) applies.
From: Vivien Kraus <vivien@HIDDEN>
To: 49085 <at> debbugs.gnu.org
Date: Tue, 20 Jul 2021 15:54:21 +0200
Content-Type: multipart/mixed; boundary="=-bswCT9WEQ2DuS99vhwnN"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 49085
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--=-bswCT9WEQ2DuS99vhwnN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

maximed in #guix pointed out that there should not be any non-ascii
character in a URI, so what I was trying to do is simultaneously parse
an IRI and convert it to an URI. For this to work, unicode
normalization is required.

--=-bswCT9WEQ2DuS99vhwnN
Content-Disposition: attachment;
	filename*0=0001-Let-uri-decode-handle-more-cases-with-unicode-input.patc;
	filename*1=h
Content-Type: text/x-patch;
	name="0001-Let-uri-decode-handle-more-cases-with-unicode-input.patch";
	charset="UTF-8"
Content-Transfer-Encoding: base64

RnJvbSAzOWZkMjU5YWMxYWExMjZjYTMxMWM2ODcwNDFiYWE1NTY4Y2ZkYzA5IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBWaXZpZW4gS3JhdXMgPHZpdmllbkBwbGFuZXRlLWtyYXVzLmV1
PgpEYXRlOiBGcmksIDE4IEp1biAyMDIxIDExOjU3OjEzICswMjAwClN1YmplY3Q6IFtQQVRDSF0g
TGV0IHVyaS1kZWNvZGUgaGFuZGxlIG1vcmUgY2FzZXMgd2l0aCB1bmljb2RlIGlucHV0LgoKVW5p
Y29kZSBjaGFyYWN0ZXJzIGFyZSBhbGxvd2VkIGluIFVSSXMuIEhvd2V2ZXIsIHNpbmNlIEd1aWxl
IFVSSXMgYXJlCm5vdCBhdXRvbWF0aWNhbGx5IFVURi04LCBpdCBpcyBwb3NzaWJsZSB0aGF0IHRo
ZSBkZWNvZGluZyBmYWlscyBpbiB0d28KZGlmZmVyZW50IHdheXM6CgoxLiBhIGNoYXJhY3RlciBp
biB0aGUgVVJJIGNhbm5vdCBiZSBwYXJ0IG9mIHRoZSBzcGVjaWZpZWQgZW5jb2RpbmcsIGZvcgog
ICBpbnN0YW5jZSBhIG5vbi10cml2aWFsIHVuaWNvZGUgY2hhcmFjdGVyIHdpdGggSVNPLTg4NTkt
MTsKMi4gdGhlIHBlcmNlbnQtZW5jb2Rpbmcgc2VxdWVuY2UgY2Fubm90IGJlIGRlY29kZWQsIGZv
ciBpbnN0YW5jZSAlRkYKICAgYWxvbmUgaW4gYSBVVEYtOCBVUkkuCi0tLQogZG9jL3JlZi93ZWIu
dGV4aSAgICAgICAgICAgICAgfCAgNiArKysrKy0KIG1vZHVsZS93ZWIvdXJpLnNjbSAgICAgICAg
ICAgIHwgMjcgKysrKysrKysrKysrKysrKysrKysrKystLS0tCiB0ZXN0LXN1a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gICAgICAgICAgKGVsc2UKLSAgICAgICAgICAgICAgICAgICAgICAg
KHVyaS1lcnJvciAiSW52YWxpZCBjaGFyYWN0ZXIgaW4gZW5jb2RlZCBVUkkgfmE6IH5zIgotICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0ciBjaCkpKSkpKSkpKSkKKyAgICAgICAg
ICAgICAgICAgICAgICAgKHVubGVzcyBhbGxvdy11bmVzY2FwZWQtdW5pY29kZT8KKyAgICAgICAg
ICAgICAgICAgICAgICAgICAodXJpLWVycm9yICJJbnZhbGlkIGNoYXJhY3RlciBpbiBlbmNvZGVk
IFVSSSB+YTogfnMiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHIgY2gp
KQorICAgICAgICAgICAgICAgICAgICAgICAobGV0ICgoZW5jb2RlZAorICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgKGNhdGNoICdlbmNvZGluZy1lcnJvcgorICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAobGFtYmRhICgpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgKHN0cmluZy0+Ynl0ZXZlY3RvciAoc3RyaW5nIGNoKSBlbmNvZGluZykpCisgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIChsYW1iZGEgZXJyb3IKKyAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAodXJpLWVycm9yICJJbnZhbGlkIGNoYXJhY3RlciBpbiBlbmNvZGVkIFVS
SSB+YTogfnMiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBz
dHIgY2gpKSkpKQorICAgICAgICAgICAgICAgICAgICAgICAgIChwdXQtYnl0ZXZlY3RvciBwb3J0
IGVuY29kZWQpCisgICAgICAgICAgICAgICAgICAgICAgICAgKGxwICgxKyBpKSkpKSkpKSkpKSkp
CiAgICAgKGlmIGVuY29kaW5nCi0gICAgICAgIChieXRldmVjdG9yLT5zdHJpbmcgYn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AgICAgICAgICAgICAgICAgICAgICAgICAodXJpLWRlY29kZSAiZm9v
4pyrYmFyIiAjOmVuY29kaW5nICJJU08tODg1OS0xIikpCisKKyAgKHBhc3MtaWYtdXJpLWV4Y2Vw
dGlvbiAiZm9vJUZGYmFyIGluIHV0Zi04IgorICAgICAgICAgICAgICAgICAgICAgICAgICJJbnZh
bGlkIGNoYXJhY3RlciBpbiBlbmNvZGVkIFVSSSB+YSIKKyAgICAgICAgICAgICAgICAgICAgICAg
ICAodXJpLWRlY29kZSAiZm9vJUZGYmFyIGluIHV0Zi04IikpCisKKyAgKHBhc3MtaWYtdXJpLWV4
Y2VwdGlvbiAiZm9v4pyrYmFyLCBidXQgdW5pY29kZSBNVVNUIGJlIGVzY2FwZWQiCisgICAgICAg
ICAgICAgICAgICAgICAgICAgIkludmFsaWQgY2hhcmFjdGVyIGluIGVuY29kZWQgVVJJIH5hOiB+
cyIKKyAgICAgICAgICAgICAgICAgICAgICAgICAodXJpLWRlY29kZSAiZm9v4pyrYmFyIiAjOmFs
bG93LXVuZXNjYXBlZC11bmljb2RlPyAjZikpCisKKyAgOzsgVGhpcyBub3JtYWxpemF0aW9uIGV4
YW1wbGUgdXNlcyB0aGUgw7QgZGVjb21wb3NpdGlvbiBpbgorICA7OyBodHRwczovL3d3dy51bmlj
b2RlLm9yZy9yZXBvcnRzL3RyMTUvI05vcm1fRm9ybXMKKyAgKGxldCAoKG5vbi1ub3JtYWwgKGxp
c3QtPnN0cmluZworICAgICAgICAgICAgICAgICAgICAgKGxpc3QgI1xmICNcbworICAgICAgICAg
ICAgICAgICAgICAgICAgICAgI1xvIChpbnRlZ2VyLT5jaGFyIChzdHJpbmctPm51bWJlciAiMDMw
MiIgMTYpKSkpKQorICAgICAgICAobm9ybWFsIChsaXN0LT5zdHJpbmcKKyAgICAgICAgICAgICAg
ICAgKGxpc3QgI1xmICNcbworICAgICAgICAgICAgICAgICAgICAgICAoaW50ZWdlci0+Y2hhciAo
c3RyaW5nLT5udW1iZXIgIjAwRjQiIDE2KSkpKSkpCisgICAgKHBhc3MtaWYgImV4dGVuZGVkIFVS
SSBkZWNvZGU6IHRoZSBzdHJpbmdzIGFyZSBkaWZmZXJlbnQiCisgICAgICAobm90IChlcXVhbD8g
bm9uLW5vcm1hbCBub3JtYWwpKSkKKyAgICAocGFzcy1pZiAiZXh0ZW5kZWQgVVJJIGRlY29kZTog
b25lIGlzIHRoZSBORkMgb2YgdGhlIG90aGVyIgorICAgICAgKGVxdWFsPyAoc3RyaW5nLW5vcm1h
bGl6ZS1uZmMgbm9uLW5vcm1hbCkgbm9ybWFsKSkKKyAgICAocGFzcy1pZiAiZXh0ZW5kZWQgVVJJ
IGRlY29kZTogTkZDIGlzIHBlcmZvcm1lZCBjb3JyZWN0bHkiCisgICAgICAoZXF1YWw/IG5vcm1h
bCAodXJpLWRlY29kZSBub24tbm9ybWFsKSkpKQorCiAgIChwYXNzLWlmICJmb28rYmFyIgogICAg
IChlcXVhbD8gJygiZm9vK2JhciIpIChzcGxpdC1hbmQtZGVjb2RlLXVyaS1wYXRoICJmb28rYmFy
IikpKSkKIAotLSAKMi4zMi4wCgo=


--=-bswCT9WEQ2DuS99vhwnN--





Information forwarded to bug-guile@HIDDEN:
bug#49085; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Jun 2021 10:28:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 18 06:28:02 2021
Received: from localhost ([127.0.0.1]:55871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1luBjG-0005sb-4q
	for submit <at> debbugs.gnu.org; Fri, 18 Jun 2021 06:28:02 -0400
Received: from lists.gnu.org ([209.51.188.17]:58368)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vivien@HIDDEN>) id 1luBjC-0005sA-7l
 for submit <at> debbugs.gnu.org; Fri, 18 Jun 2021 06:28:00 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60164)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <vivien@HIDDEN>)
 id 1luBjB-0007m7-Rl
 for bug-guile@HIDDEN; Fri, 18 Jun 2021 06:27:57 -0400
Received: from planete-kraus.eu ([2a00:5881:4008:2810::309]:37558)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <vivien@HIDDEN>)
 id 1luBj9-0001a6-DO
 for bug-guile@HIDDEN; Fri, 18 Jun 2021 06:27:57 -0400
Received: from planete-kraus.eu (localhost.lan [127.0.0.1])
 by planete-kraus.eu (OpenSMTPD) with ESMTP id 10342f36
 for <bug-guile@HIDDEN>; Fri, 18 Jun 2021 10:27:41 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h=
 message-id:subject:from:to:date:content-type:mime-version; s=*;
 bh=kyTkBj9xoFwlw2rm5UjdiToAN3E=; b=MKRrb9OsEyGyWd04+WdwUQD4kLki
 w6jAvbptmjCuqa3RA+83fFeRnGB6v427Z6Y1DCKCvbkK6G0whrMQeT3qZRY5zpGI
 K/tUiCFNH3jqqp3vmcBvk3lYlRD9GlLUdDCTkH9TqO3tT86pPE3N6p1uom7HIOzG
 jijR3krf5+yoSjI=
Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id c06337b9
 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO)
 for <bug-guile@HIDDEN>; Fri, 18 Jun 2021 10:27:38 +0000 (UTC)
Message-ID: <103527ae65edab29b1ff860c214499104729d00c.camel@HIDDEN>
Subject: Handle more unicode characters in uri-decode
From: Vivien Kraus <vivien@HIDDEN>
To: bug-guile@HIDDEN
Date: Fri, 18 Jun 2021 12:27:46 +0200
Content-Type: multipart/mixed; boundary="=-ajv3djpHEVzlzeDent89"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Received-SPF: pass client-ip=2a00:5881:4008:2810::309;
 envelope-from=vivien@HIDDEN; helo=planete-kraus.eu
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
 DKIM_SIGNED=0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


--=-ajv3djpHEVzlzeDent89
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

Dear guilers,

uri-decode should accept unicode characters. This is difficult to
implement so that different encodings can be used, but here is my
solution.

Best regards,

Vivien

--=-ajv3djpHEVzlzeDent89
Content-Disposition: attachment;
	filename*0=0001-Let-uri-decode-handle-more-cases-with-unicode-input.patc;
	filename*1=h
Content-Transfer-Encoding: base64
Content-Type: text/x-patch;
	name="0001-Let-uri-decode-handle-more-cases-with-unicode-input.pat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pdCBhL21vZHVsZS93ZWIvdXJpLnNj
bSBiL21vZHVsZS93ZWIvdXJpLnNjbQppbmRleCA4ZTBiOWJlZTcuLmJiMzU3M2ZhYiAxMDA2NDQK
LS0tIGEvbW9kdWxlL3dlYi91cmkuc2NtCisrKyBiL21vZHVsZS93ZWIvdXJpLnNjbQpAQCAtNDI0
LDEwICs0MjQsMjEgQEAgRU5DT0RJTkcgd2FzIOKAmCNm4oCZLiIKICAgICAgICAgICAgICAgICAg
ICAgICAgKHB1dC11OCBwb3J0IChjaGFyLT5pbnRlZ2VyIGNoKSkKICAgICAgICAgICAgICAgICAg
ICAgICAgKGxwICgxKyBpKSkpCiAgICAgICAgICAgICAgICAgICAgICAgKGVsc2UKLSAgICAgICAg
ICAgICAgICAgICAgICAgKHVyaS1lcnJvciAiSW52YWxpZCBjaGFyYWN0ZXIgaW4gZW5jb2RlZCBV
UkkgfmE6IH5zIgotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0ciBjaCkpKSkp
KSkpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgKGxldCAoKGVuY29kZWQKKyAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIChjYXRjaCAnZW5jb2RpbmctZXJyb3IKKyAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgKGxhbWJkYSAoKQorICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIChzdHJpbmctPmJ5dGV2ZWN0b3IgKHN0cmluZyBjaCkgZW5jb2RpbmcpKQorICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAobGFtYmRhIGVycm9yCisgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgKHVyaS1lcnJvciAiSW52YWxpZCBjaGFyYWN0ZXIgaW4gZW5jb2Rl
ZCBVUkkgfmE6IH5zIgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgc3RyIGNoKSkpKSkKKyAgICAgICAgICAgICAgICAgICAg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gICAgICAg
ICAgICAgICAgICAgICAgICAiSW52YWxpZCBjaGFyYWN0ZXIgaW4gZW5jb2RlZCBVUkkgfmE6IH5z
IgorICAgICAgICAgICAgICAgICAgICAgICAgICh1cmktZGVjb2RlICJmb2/inKtiYXIiICM6ZW5j
b2RpbmcgIklTTy04ODU5LTEiKSkKKworICAocGFzcy1pZi11cmktZXhjZXB0aW9uICJmb28lRkZi
YXIgaW4gdXRmLTgiCisgICAgICAgICAgICAgICAgICAgICAgICAgIkludmFsaWQgY2hhcmFjdGVy
IGluIGVuY29kZWQgVVJJIH5hIgorICAgICAgICAgICAgICAgICAgICAgICAgICh1cmktZGVjb2Rl
ICJmb28lRkZiYXIgaW4gdXRmLTgiKSkKKwogICAocGFzcy1pZiAiZm9vK2JhciIKICAgICAoZXF1
YWw/ICcoImZvbytiYXIiKSAoc3BsaXQtYW5kLWRlY29kZS11cmktcGF0aCAiZm9vK2JhciIpKSkp
CiAKLS0gCjIuMzIuMAoK


--=-ajv3djpHEVzlzeDent89--





Acknowledgement sent to Vivien Kraus <vivien@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#49085; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Jul 2021 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.