From patchwork Thu Oct 3 15:46:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 832418 Delivered-To: patch@linaro.org Received: by 2002:adf:8b52:0:b0:367:895a:4699 with SMTP id v18csp354277wra; Thu, 3 Oct 2024 08:48:34 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVBm1Ki0Wdi7FKWwPRzOnRh+fLKzjCdJt5OZFwI6T80CpxJ6UJhPMkYTvkPZK1ehCga1rLAgA==@linaro.org X-Google-Smtp-Source: AGHT+IEfslML8s3yUKqcSJdzYjMUeWi/07W3Nb8WD3pExD2Dt5vIEjNLUUPAZ49pjc/ftkXP3SJ+ X-Received: by 2002:a05:6602:2cc1:b0:82c:ee41:72e9 with SMTP id ca18e2360f4ac-834d83c3b77mr837463039f.2.1727970514630; Thu, 03 Oct 2024 08:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727970514; cv=none; d=google.com; s=arc-20240605; b=AXoOK7lMoF14S1RDFnQbNUvwfyqINGWGpEV69Mj0yakdUjFptYLT5bG4iCki3bLuSx ZKzJYM8Gaj10ojQSCipECxqOK/5BAiylgVon9UjohHyU+QJQNdOTdFWplsPESFRL9Og4 qgh7MOJBmn3wHqIuPB50sjYHkwdBS9j9Wc2T+9iBBzHxiCxe4EAavZUh+sKFaDmfQGMh EM5tvB7k/g9IBGAGXt+dP6hMGcX9MdJcv9FfT8C5JbE0Sqz8X25QvVXZz4xFrdjABW+z gt+TjVRsz0aPfnVCr92yry45uxXws/qqfR4YqTc5Fl4jfepG7E4vlLw8WL3Gud4rXWkC 3Dsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=OU2VUMRGCTc+MvFx1Y4JV6qJNct5kwe7bvtCsqQAkio=; fh=unfva7WENhDSyGD/OHzzL8mLaBX2u/JXKBZjiHda3XI=; b=dGc7DTpEpoTkgkTJwMLq00Y03i19263xYm656RKmelheC18vBL1SYTXuogM2F93stL rn76LhiS8UuMdyDn2n5uvsrZwwmr3OuXsiyEhxTeqeO6b6QpC1zj3E7NMvTABFZINFI2 mCAxL8VCU2d0wddQSilQvLNtZUilzTQglM+PLLoz2NQByeJeXaClnW4HA36R6PWvwFvZ pDhqmsrne4QmsDJaWb+0V4PGdjZ9k4Sl4bG2DFHfNy78mn4N0IRE6StSLmCZJQfQ6KhG ubrpAo2iQyge7ivND0goEFCIHeLq1ndHDqx2Or/M1l0L8CdskYYRyELngbkJFOl8VjcW ITQg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kMqHK3W7; 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 ca18e2360f4ac-834efe8b079si70389039f.146.2024.10.03.08.48.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 08:48:34 -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=kMqHK3W7; 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 9ABDC88F0A; Thu, 3 Oct 2024 17:47:26 +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="kMqHK3W7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 331FC88E7A; Thu, 3 Oct 2024 17:47:25 +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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 4545788EFA for ; Thu, 3 Oct 2024 17:47:23 +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-wm1-x332.google.com with SMTP id 5b1f17b1804b1-42cb0f28bfbso9380935e9.1 for ; Thu, 03 Oct 2024 08:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727970442; x=1728575242; 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=OU2VUMRGCTc+MvFx1Y4JV6qJNct5kwe7bvtCsqQAkio=; b=kMqHK3W7c+OpAPM5MklH60oUf08xss+mUhEVs3x2jAWgQijaBLPXxSJ13Md5C7JX7F yqp+U7Nmbph5rSbOepaCeyIRislv2IfwsVbB2PNgdFrnBHWMiewZFifg2SUeOrUcsV9O E9FwNiET94Ln9LSYinyMB4gM2ORdwNXwXVNl36x4ZN5jJQ6s0XGY/S6jyNw87Jf4Lr2L tl41A1+AryQBJQiArnMASYHkiXVJNY5avAauWumu0Zf/yQ0iaK3ojCFASBArsD0RrjxP h77ZtNq9D+u2GgzegOJwITUXCPYYn8wV1jhdLZ/VGqmzjdZ4Fsa4fLjUkAe/Y0O8ycng zXsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727970442; x=1728575242; 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=OU2VUMRGCTc+MvFx1Y4JV6qJNct5kwe7bvtCsqQAkio=; b=mXhmtZXrxqANSVTDFdpnVEsnZ0ndBfJjYM329QbuXMI6ZRAtKc6nNtXs3t6o9T5GoW NJoUM4P+XFntmE+dIqTj3GAPZN5cNq7P+9r9RsivkkQUCccQRAQ2y9i6iBfcrYhOLIBS slw50Qo3BOsLevrYRzY7hbtpVgt7bbfGigtw/W53zx2taP2IatRWVbWK8WxepjcuvQk7 3MOPq4q/gjyJm1Bl+SSqpecpksIxzggb+s/F2SKG5LzhfLUnDz7Tg4/AVS/MtdTUdm+F 57fu5DQOAA4kPU28lfqLbMaXog7mkOFd2tGzahjx1JAstLMN3MmDd9JlmsTpovrihUr4 Kqjw== X-Gm-Message-State: AOJu0Yxxw2N3B9IV113AddE3gxay7YahUJ0/skm0/rxqOI+wbJwfTfhH N0z4S/YMdW3qwRrYeBDuPGc24PKzdq2JlahqGCd4IZ/+HOg4/iWE6rmRDGoMX83qAq03DsWXNZd GgA4TuU8n X-Received: by 2002:a05:600c:46d1:b0:42c:bf0b:c489 with SMTP id 5b1f17b1804b1-42f777c27f1mr53152185e9.18.1727970442011; Thu, 03 Oct 2024 08:47:22 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:d888:7a58:deed:47d6]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d08245059sm1541748f8f.55.2024.10.03.08.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 08:47:21 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Javier Tia , Raymond Mao , Maxim Uvarov , Tim Harvey , Anton Antonov , Jonathan Humphreys , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini Subject: [PATCH v11 20/29] net-lwip: lwIP wget supports user defined port in the uri, so allow it. Date: Thu, 3 Oct 2024 17:46:24 +0200 Message-Id: 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 e8768fc2acd..b495ebd1aa9 100644 --- a/net/lwip/wget.c +++ b/net/lwip/wget.c @@ -349,12 +349,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);