From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cW83B-0006Ii-03 for mharc-grub-devel@gnu.org; Tue, 24 Jan 2017 15:50:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW837-0006GL-8K for grub-devel@gnu.org; Tue, 24 Jan 2017 15:50:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW835-0001Ds-8U for grub-devel@gnu.org; Tue, 24 Jan 2017 15:50:41 -0500 Received: from mail-vk0-x234.google.com ([2607:f8b0:400c:c05::234]:36222) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cW834-0001Do-Vx for grub-devel@gnu.org; Tue, 24 Jan 2017 15:50:39 -0500 Received: by mail-vk0-x234.google.com with SMTP id t8so120758788vke.3 for ; Tue, 24 Jan 2017 12:50:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coreos.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Lfe7nkiwA8KE6UvwpzRkGjhzCj1gvIaoF5SyqePY+1o=; b=LRlND01T7OMt9wtis0gaDMFyOT+5v/DJSy/x6bp3QKJRMkmSnfooKAi7Arq73T6MN4 pQKLpj/AiAlvemEveFXssX8NyZfJvpKmH/LDWnHOQmZHd1BbNtsVoCTp7E82TDLmTSa2 aV2mQA0fRAzo1h7Kh1pajb/uVYknVsz1AHQ6I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Lfe7nkiwA8KE6UvwpzRkGjhzCj1gvIaoF5SyqePY+1o=; b=K8fB9+9qqscZKvwDeEyj+C6gYVSOPLuya+vBemA14Vx186jLD+n8BaENcCOf85KIWd kzlpLW5xTRW8bkvVjw+me0Vw47JS4xOdeAPcc4JT7Jh2aZKS3JuWDxfuIfmbqD8EvZZU d1ULE3/bPUN6aVmbh+tFD3c3jqaMXzj+GvQeA590B0NkEx9xnKyAN8oP0b+tc6hQoCBu leVEoYprPNneORq6+Cd81w5LRV8Czvp6iGxZRNgO6RdLdbCNf821CW6zF76cQqEr8lKy PaU9M7mLulO2S/djWrFzLMGka/RG283RT7RSp7FLBHMvkDGgjOIrp/2VbgokhiGsvT/C z4hA== X-Gm-Message-State: AIkVDXJNYfzmP1C42KeklUkgkcpSRZrHWADHC3T+uWS4AZ44S+OSxfcx985UW1Yj1OeGmECb43+eXpAhcCm5rmbO X-Received: by 10.31.56.205 with SMTP id f196mr17300394vka.61.1485291037779; Tue, 24 Jan 2017 12:50:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.148.26 with HTTP; Tue, 24 Jan 2017 12:50:37 -0800 (PST) In-Reply-To: <411c7ef8-85a2-afd8-7446-0fd8d3d98616@gmail.com> References: <20170124003601.24612-1-mjg59@coreos.com> <20170124003601.24612-5-mjg59@coreos.com> <411c7ef8-85a2-afd8-7446-0fd8d3d98616@gmail.com> From: Matthew Garrett Date: Tue, 24 Jan 2017 12:50:37 -0800 Message-ID: Subject: Re: [PATCH 4/4] Allow protocol to be separated from host with a semicolon To: Andrei Borzenkov Cc: The development of GNU GRUB 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] X-Received-From: 2607:f8b0:400c:c05::234 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 20:50:43 -0000 On Mon, Jan 23, 2017 at 8:02 PM, Andrei Borzenkov wro= te: > 24.01.2017 03:36, Matthew Garrett =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Some DHCP servers (such as dnsmasq) tokenise parameters with commas, mak= ing >> it impossible to pass boot files with commas in them. Allow using a > > grub_net_open() operates on devices, not files. Please give more details > about your problem. The DHCP server will return a string in the boot_file field. If you want to indicate that this file should be obtained over http, the easiest way to handle this is to provide a boot file in the form (http,host)filename. Unfortunately dnsmasq uses commas to tokenise its configuration parameters and there appears to be no way to override that, which makes it impossible to provide a boot file in this form. Allowing the use of an alternative character avoids this problem.