From patchwork Fri Aug 2 13:14:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 816242 Delivered-To: patch@linaro.org Received: by 2002:adf:e00d:0:b0:367:895a:4699 with SMTP id s13csp270573wrh; Fri, 2 Aug 2024 06:16:31 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUvmCHQg43Mv5s5EFFS2Pp4eSrEHH8Nq1dFBCO7BlxPraMwmpt5xip4TH4hu5e3+Z1UvIX4wZUJ11/DUPqGNHw5 X-Google-Smtp-Source: AGHT+IECzGi5E7hf8P4PCkHwYoilAJgXj9inZmEamK2RtE229W9rM994/ibav7RYJDIHYiNb9f5y X-Received: by 2002:a17:907:2da9:b0:a7a:bb54:c852 with SMTP id a640c23a62f3a-a7dc50a3792mr251106166b.61.1722604591010; Fri, 02 Aug 2024 06:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722604590; cv=none; d=google.com; s=arc-20160816; b=Rudp0YvVFf13io94yDdisRT0/4t0DH0U8iC1krrPUiRCLvYtkVR5j1PCM8ToscsUo/ wLllWcwUYPf33kR/OX7ubY/CYrLHdDxZjlSYeV85fA74+V4c4sNeW4BgTsd/hSmwL8Ol cwMZHMRCoikmNFwQ3wXJ/RieYXDewUn/NDA7jAkvYBmRJeamJu/vOAvyXSy3ci/Ah8Ay 9iMV3ktEPIpi+xy1AAe0kZXA1yJF5HRqjd4DLsNXzdL6Ohd7zqFAtwmu/3kjZlYBI4us M/HGw+YCGHSD/wI4w9nkMn0NpIlR5MwXK4/TRBCbtMgDvNZPSRyENUhqaMJyGYlnWCPP bApA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cdlA2YFu75qIRcOboRUVZHumardm4s8P2fupehOThlg=; fh=mLLk+HNGslNm/HEv7exDEKmbL1DeG9XLmzO60bc35RM=; b=vpdWf5nWhEAQEOS7LvuwJV6l8cK5NLQYWnwWZkFxGGYS+nBqYJREpsfwQUMoBHDyvI LcXj8AdcpP2hk6hoa2bRukbDj7lVojf1LgiimrUn0fjLcHETEcpw+aMZ2aTnQ+mEh3Fu Dn2hks8B5+ScyPFgMAGntcJO1e6x1Ji4n0zcPnsUDSbUdid0VFN2/kROWn1OzRHf2Yl1 B9mHo698pPm8nuVVNsa68G7TBcRk7NvjhzDDsINBRUYL9jVNsvcA0v+4Hn/mluHYs1mY wsmiz4uSBoXC7AdvyzUWwdgRQNSCZnmmE4u27sbx30jgr/IOJuIBfZwhR7LOH52iL6Ik p48A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Njo9JoxH; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a7dc9f2b13asi103425766b.818.2024.08.02.06.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 06:16:30 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Njo9JoxH; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 19BB488BD2; Fri, 2 Aug 2024 15:15:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Njo9JoxH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A532488BF6; Fri, 2 Aug 2024 15:15:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CAB5D88BDF for ; Fri, 2 Aug 2024 15:15:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-368380828d6so5245663f8f.1 for ; Fri, 02 Aug 2024 06:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722604507; x=1723209307; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cdlA2YFu75qIRcOboRUVZHumardm4s8P2fupehOThlg=; b=Njo9JoxHmG2uYzGezA1DOuDwIntfO0aBz4fR9yLaL/DwWAhB0pYSZTegf8Vo9XdJ4j 0YJ4Cr/JqyAo8WxaRjeVb2WI7Ie4maoBEj5UC1T1Fw3AgZN79RbrH8UhW7kKavEAsg3n mRDp3BALFHQgzTxWahk9y6Fqy4sGHi2BAJoyrlwwuA1lOCxKO+uTKSRJuvkTUHSkM64z cdNhG5NV5eCy1O7PWO4bisPtRPinVf5xT41/80KNGFQGTi+UD/0SbuZXjNZVI++rZe6i KIwcCL9hX6d25E90ewnO0lTxjUFlkN9BkqsJp6FTUVbFzZbJhpKrkcDSa+e/2Qm2IDpC Xw7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722604507; x=1723209307; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cdlA2YFu75qIRcOboRUVZHumardm4s8P2fupehOThlg=; b=fKN8Ws+BoTpTMhtWrn7IN7omF8dy+BZG5HdCDJQyg3ax6bZCtDjHUlbMViVH6eJOSH xVJyMk7Rp8yoOQUKBtesDQwYyOZfONhgewTKy02HspnWSJLRLk8558aJgK5HeD/XnxAZ DvNPp5PzisL+aWuXN3pLiWXLS61sBqNLqKu2T0N7uFEDKBBaRF6BxIqq+pW28sso+7Hy ajvcZ9tSsssvGbBnuCPhtsx5wohOdBZGEdP2nz2tO8m7k5Ri32sa9bpSpdXEZFjiruJ9 qifYj3WqtW+oCMNGGtLGArLg0zq5rMsPmjO0qLYAL+iQOthI5kCDfG/WZcU7JbWJ12BD 4rNw== X-Gm-Message-State: AOJu0YyvwO5b4ks1y23ZZSBFHvXD6CVOUyJ0nbNiDAMhj2lm/9jEuHel NXLt06Dbt1A3UxTG19Snp46xCnPgZl/nbl4jcoUcPpKQCatY0TCtD3Ph7D6gkAPBLRBYamV1nUb TP4mk/9AY X-Received: by 2002:a5d:6a4a:0:b0:368:4e38:a349 with SMTP id ffacd0b85a97d-36bbc0e3428mr2295076f8f.22.1722604506972; Fri, 02 Aug 2024 06:15:06 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:4fc9:a3ab:c134:cdf4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbcf0cc58sm1970304f8f.2.2024.08.02.06.15.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 06:15:06 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Javier Tia , Raymond Mao , Maxim Uvarov , Tim Harvey , Jonathan Humphreys , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini Subject: [PATCH v6 14/20] net-lwip: lwIP wget supports user defined port in the uri, so allow it. Date: Fri, 2 Aug 2024 15:14:01 +0200 Message-Id: <1de83ca544fd59d30d25dcb8ece60d865923721e.1722601509.git.jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Jonathan Humphreys Signed-off-by: Jonathan Humphreys Signed-off-by: Jerome Forissier --- net/lwip/wget.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/net/lwip/wget.c b/net/lwip/wget.c index 65a69fab6e8..bd1aab499d2 100644 --- a/net/lwip/wget.c +++ b/net/lwip/wget.c @@ -264,12 +264,6 @@ bool wget_validate_uri(char *uri) ret = false; goto out; } - s = strchr(authority, ':'); - if (s) { - log_err("user defined port is not supported\n"); - ret = false; - goto out; - } out: free(str_copy);