From patchwork Fri Aug 2 16:26:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 816263 Delivered-To: patch@linaro.org Received: by 2002:adf:e00d:0:b0:367:895a:4699 with SMTP id s13csp352272wrh; Fri, 2 Aug 2024 09:29:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW03QXpMmI8+B31CigujJNHs5bVXfaoU23a69QzE3kkCcdKIMhdcbfbRY18RGub3Mk8wz01a/Rj/77zYy09yzJ3 X-Google-Smtp-Source: AGHT+IGP6y4FmnEqwlp5bKV4UYOtKHXvx7OFSlVK66cxY8vmESkmLELbfug3I4ffFQcGK3hJzRPZ X-Received: by 2002:a2e:b8c7:0:b0:2f1:5d61:937e with SMTP id 38308e7fff4ca-2f15d61943dmr29775201fa.29.1722616192005; Fri, 02 Aug 2024 09:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722616191; cv=none; d=google.com; s=arc-20160816; b=nmffuNZvrIBNVCra0iX81dy+IlK2i7/kPLDl07O1tHrzJ3j/L95phJgGfm/bItZz/w 5wum5gv7/qyFEdDDg0dHrRwT5adDZhXAeu/Rly6mWm6sAyl347ET0kJGkeCWj4/jMMTp TpWdjO1RwJ+Pnv/fVgc0poYyeQoxP1uZm8xjKUREiDeWoW6anwqAtZ1LvCXHBzwv797C i3nQVJMHGPBUbs0KfsUIQgacd+pCxL8VLO2BjFgWLT3+WaCxz94eM52SKkGvbkPnEdCA vaWCfXDzt2oUdM49HJ39oM4aWr0Isvd/T4z04jEX1HfFWZJjbuxDTY8i+ruk3+GpHCi/ LnNA== 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=rPlYgCQqaKMJsPCe7U3Wfug8eqoC6lSpSXccUhK0+537fMH0emJfU6ZcRoRqwbbeZF uglllAZHd8peQhzP2TvaRXkZVjdr8uzSHA8Gs2QIJ4qB6K1J/aFJ/iQpTTJJUkjdDhR1 yzBdcjY+X/fW9JIk03rfJLhXoZ7zZa1CAY94XYbSBollZhgpZmXG9VI7oDL2Bo/jL6Xn dPoPbRLr6mLuW1bfjGs8kngujOfTZRuNGOX7REAPpakBmo5TnXGRIY3XTCBpFqZmFnzm 2VPm48PP1FD7AzVvCkERco1rIQJ3xZNpyCeX/CH2bQ8+BcKyScUOebJZzxnkC3pOVDZb WPpA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=puUsc8nI; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-a7dc9bd3baesi125567666b.72.2024.08.02.09.29.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 09:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=puUsc8nI; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 D0A6988BFC; Fri, 2 Aug 2024 18:28:34 +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="puUsc8nI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BBEA088BF3; Fri, 2 Aug 2024 18:28:32 +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-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 A51A388BCE for ; Fri, 2 Aug 2024 18:28:30 +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-x335.google.com with SMTP id 5b1f17b1804b1-4281d812d3eso61977665e9.3 for ; Fri, 02 Aug 2024 09:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722616110; x=1723220910; 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=puUsc8nIY5AodFSi9srhQGTR+q+35Ye6tuxD104YHag/JoLsFWsNabbynm+xxKYGyz 8XjGeH8kmkkxi68JdxjtiCj2rzQRND5BVOGS6uTVvIwm6Fx4AXAshX0d52dO4kBnN6CU VrIztwisfwlJ3ad/rDY2x7GsWFK876ANLiAijuwCEGcTz8eJDhWPlmykZleeipPwOwZO J9bC9djw3jnpid2asZSqtDU27xm/uweyjSFSwOC+tkt2JVYA/2jsOf4alRcHitlQn5WI Swe61zCpmL6zRCvEnUVg0spIlIMAzhjkLrJcKqONmNGiUIoiATJWbKUNW1/L50p6MLDc +Ttw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722616110; x=1723220910; 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=RhdcaWPr/Uqhh2pvsbmRuu/3XI9gc0SH8X1Id+arycP1YkE7jDDGrhyiL+bj2dbZbS LAkJl10my8iSzusObXqTfPl3d29F5O/zsh40u5O8YjosPBfIYGoeCyhXCeBtiLVOLNFV VVKkzYJ8zw82q31UW1Lg4v8St63eup2nP5iGc1G2uE1+9kPMTKtkhAAfmT3GBi8+xkMV i0CgCo27/0o3EcEvTJFKpJabghdI7JQoA8M2oHNZ/VCqsJR9b4DOk7MZW+xR9DGNKaxc DHsDha/stfr3HEayhZNMgonnq3up4NTfmMG9ZR8IMYpOxxYgpeNPEe2k5wCpcvZQ1KyL ADrQ== X-Gm-Message-State: AOJu0YwDcJZtr3dIfIPWMD3rBJ67FSNw/phxQ4hYU6YO9YHEB7dy8mpE HfbLeoNa5+3iqHUYURpIeo3R6kbs1YjDbhbLJFMOKkSVOLL08jDA6cldagLb9AaVXQFc3cpON9Z H9MyuTT3V X-Received: by 2002:a05:600c:3c84:b0:426:6ee7:d594 with SMTP id 5b1f17b1804b1-428e6af2443mr33922375e9.7.1722616109865; Fri, 02 Aug 2024 09:28:29 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:4fc9:a3ab:c134:cdf4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd01b5c4sm2297783f8f.42.2024.08.02.09.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 09:28:29 -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 v7 14/20] net-lwip: lwIP wget supports user defined port in the uri, so allow it. Date: Fri, 2 Aug 2024 18:26:41 +0200 Message-Id: <50ebd3025064d752ff4d73e995d8f70b240ccb13.1722615735.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);