From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Nikolaev Subject: Ampersand sign (&) in URL. Date: Tue, 4 Oct 2016 13:50:04 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11401bb8bcb220053e07d2cb Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brNIY-0004Cu-1B for help-guix@gnu.org; Tue, 04 Oct 2016 06:50:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brNIV-0007Tm-TU for help-guix@gnu.org; Tue, 04 Oct 2016 06:50:08 -0400 Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:33947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brNIV-0007PJ-M2 for help-guix@gnu.org; Tue, 04 Oct 2016 06:50:07 -0400 Received: by mail-lf0-x230.google.com with SMTP id b81so59594619lfe.1 for ; Tue, 04 Oct 2016 03:50:06 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --001a11401bb8bcb220053e07d2cb Content-Type: text/plain; charset=UTF-8 Hello. I've tried to package PT Astra font http://astralinux.com/fonts.html But it's download URL contains ampersand sign (&). http://astralinux.com/images/fonts/PTAstraSans&Serif_TTF_ver1001.zip Guix returns build failed: invalid character `&' in name `PTAstraSans&Seif_TTF_ver1001.zip.drv' How do I escape & in URL so guix accept it? Dmitry Nikolaev --001a11401bb8bcb220053e07d2cb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello. I've tried to package PT As= tra font

http://astrali= nux.com/fonts.html

But it's download URL contains ampe= rsand sign (&).

http://astralinux.com/images/fonts/PT= AstraSans&Serif_TTF_ver1001.zip

Guix returns

bu= ild failed: invalid character `&' in name `PTAstraSans&Seif_TTF= _ver1001.zip.drv'

How do I escape & in URL so guix acc= ept it?

Dmitry Nikolaev
--001a11401bb8bcb220053e07d2cb-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Ampersand sign (&) in URL. Date: Tue, 4 Oct 2016 12:56:56 +0200 Message-ID: <57F38AF8.5030505@goebel-consult.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms040302010209050700040004" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brNPH-0004wv-7R for help-guix@gnu.org; Tue, 04 Oct 2016 06:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brNPC-0003k3-PY for help-guix@gnu.org; Tue, 04 Oct 2016 06:57:06 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:57348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brNPC-0003j3-Fu for help-guix@gnu.org; Tue, 04 Oct 2016 06:57:02 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3spG7w5qPmz3hjdF for ; Tue, 4 Oct 2016 12:56:59 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3spG7v6YvLzvlCs for ; Tue, 4 Oct 2016 12:56:59 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id eF0f7c4Ozkfg for ; Tue, 4 Oct 2016 12:56:57 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-145-152.dynamic.mnet-online.de [188.174.145.152]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 4 Oct 2016 12:56:57 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 15EA260745 for ; Tue, 4 Oct 2016 12:56:57 +0200 (CEST) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org This is a cryptographically signed message in MIME format. --------------ms040302010209050700040004 Content-Type: multipart/alternative; boundary="------------090107090909020102050307" This is a multi-part message in MIME format. --------------090107090909020102050307 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 04.10.2016 um 12:50 schrieb Dmitry Nikolaev: > How do I escape & in URL so guix accept it? Try "%26", which is the hex-representation of the ascii-code of "&". --=20 Sch=C3=B6nen Gru=C3=9F Hartmut Goebel Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer Information Security Management, Security Governance, Secure Software Development Goebel Consult, Landshut http://www.goebel-consult.de Blog: http://www.goebel-consult.de/blog/feiertagsarbeit-bei-teletrust Kolumne: http://www.cissp-gefluester.de/2012-01-in-die-cloud-in-die-cloud-aber-wo-= soll-die-sein --------------090107090909020102050307 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Am 04.10.2016 um 12:50 schrieb Dmitry Nikolaev:
How do I escape & in URL so guix accept it?
Try "%26", which is the hex-representation of the ascii-code of "&".

--
Sch=C3=B6nen Gru=C3=9F
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP,= CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software Development

Goebel Consult, Landshut
ht= tp://www.goebel-consult.de

Blog: = http://www.goebel-consult.de/blog/feiertagsarbeit-bei-teletrust
Kolumne: http://www.cissp-gefluester.de/2012-01-in-die-clou= d-in-die-cloud-aber-wo-soll-die-sein

--------------090107090909020102050307-- --------------ms040302010209050700040004 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC BYswggWHMIIDb6ADAgECAgMSYcgwDQYJKoZIhvcNAQENBQAweTEQMA4GA1UEChMHUm9vdCBD QTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0IFNp Z25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2VydC5vcmcwHhcN MTYwOTI2MDkzNzUzWhcNMTcwMzI1MDkzNzUzWjBFMRgwFgYDVQQDEw9DQWNlcnQgV29UIFVz ZXIxKTAnBgkqhkiG9w0BCQEWGmguZ29lYmVsQGdvZWJlbC1jb25zdWx0LmRlMIIBIjANBgkq hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAykbRbJ57m2Wx9zb8EBr9nMk46l9VRzELF//iqO03 wrtAaROtXXC8o8jK8Ah32vnJjpvsToNK3vB+AuHvFZtDA4nanRZpZJvHZhMfH4hYL2+2IQMG xlHvWBc+3PiPotZE8pA2xvfM3raiY4DRqbKjWFa13gdShFDF9V3kQ0QaSsvV7oS44OFkgIlY k3ZK/27x6tkYQ3N9R4xRADl4BmGzupDXxFUM+pTEjg7xfqr2WS7fnA4OLoUcIgrgrAVSqEkR rcstQKOT07FzO1WaCpNGIJJt6ixts2ng4blUsrYfX+Zdu9cL0RkE1ZMn5GvNlZyQWMzuBl/C EXiNaDE/1az5ewIDAQABo4IBSjCCAUYwDAYDVR0TAQH/BAIwADBWBglghkgBhvhCAQ0ESRZH VG8gZ2V0IHlvdXIgb3duIGNlcnRpZmljYXRlIGZvciBGUkVFIGhlYWQgb3ZlciB0byBodHRw Oi8vd3d3LkNBY2VydC5vcmcwDgYDVR0PAQH/BA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+Ftqj QupeCSORl6OJws9SixMWphwPNV1BrFAHk3qD4utt02+BSOeIOIkI/l0KYNTiuUYsaQT0jnJP JoDLqXvi6sCf+21MaXwMiPs3/NFhNFcPTApJRRoyooH/9u4R4O4u5FtBAJI8SY9fAAAAAAAA --------------ms040302010209050700040004-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Nikolaev Subject: Re: Ampersand sign (&) in URL. Date: Tue, 4 Oct 2016 15:44:37 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11402c466bb355053e096c18 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brP5N-0001Sd-CI for help-guix@gnu.org; Tue, 04 Oct 2016 08:44:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brP5L-0007vZ-HG for help-guix@gnu.org; Tue, 04 Oct 2016 08:44:40 -0400 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:36779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brP5L-0007v2-9q for help-guix@gnu.org; Tue, 04 Oct 2016 08:44:39 -0400 Received: by mail-lf0-x22d.google.com with SMTP id b75so48993794lfg.3 for ; Tue, 04 Oct 2016 05:44:39 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --001a11402c466bb355053e096c18 Content-Type: text/plain; charset=UTF-8 >>build failed: invalid character `&' in name `PTAstraSans&Seif_TTF_ver1001. zip.drv >Try "%26", which is the hex-representation of the ascii-code of "&". build failed: invalid character `%' in name `PTAstraSans%26Seif_TTF_ver1001. zip.drv Dmitry Nikolaev --001a11402c466bb355053e096c18 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
>>build failed: invalid c= haracter `&' in name `PTAstraSans&Seif_TTF_ver1001.zip.drv=

>Try "%26", which is the hex= -representation of the ascii-code of "&".

build failed: invalid character `%= 9; in name `PTAstraSans%26Seif_TTF_ver1001.zip.drv

D= mitry Nikolaev
--001a11402c466bb355053e096c18-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Ampersand sign (&) in URL. Date: Tue, 04 Oct 2016 15:35:06 +0200 Message-ID: <87d1jg8cfp.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brPsI-0003ZK-Nk for help-guix@gnu.org; Tue, 04 Oct 2016 09:35:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brPsC-0003Ap-R7 for help-guix@gnu.org; Tue, 04 Oct 2016 09:35:13 -0400 In-Reply-To: (Dmitry Nikolaev's message of "Tue, 4 Oct 2016 13:50:04 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dmitry Nikolaev Cc: help-guix Dmitry Nikolaev skribis: > But it's download URL contains ampersand sign (&). > > http://astralinux.com/images/fonts/PTAstraSans&Serif_TTF_ver1001.zip > > Guix returns > > build failed: invalid character `&' in name > `PTAstraSans&Seif_TTF_ver1001.zip.drv' > > How do I escape & in URL so guix accept it? Instead of escaping it, add a =E2=80=98file-name=E2=80=99 field in the =E2= =80=98origin=E2=80=99 form that does not contain the offending character: (origin (method url-fetch) (uri =E2=80=A6) (sha256 =E2=80=A6) (file-name "the-font.zip")) HTH! Ludo=E2=80=99. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: Ampersand sign (&) in URL. Date: Tue, 4 Oct 2016 16:43:22 +0200 Message-ID: References: <87d1jg8cfp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brQwK-0003LD-HH for help-guix@gnu.org; Tue, 04 Oct 2016 10:43:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brQwI-0005qo-CX for help-guix@gnu.org; Tue, 04 Oct 2016 10:43:27 -0400 In-Reply-To: <87d1jg8cfp.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Dmitry Nikolaev , help-guix Hello, > Dmitry Nikolaev skribis: >> build failed: invalid character `&' in name Where is this restriction coming from ? Could the error message add some help/hint about "adding (file-name ...)" ? -- Vincent Legoll