From patchwork Fri Aug 23 13:48:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 821730 Delivered-To: patch@linaro.org Received: by 2002:adf:e044:0:b0:367:895a:4699 with SMTP id w4csp387955wrh; Fri, 23 Aug 2024 06:53:38 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV+k0qjR/JkSwdlMhw21D/vsIvEKjx02/g9kdc1xJhWvs/aagJv1fn7sfVf9enEKLL1kmhQiw==@linaro.org X-Google-Smtp-Source: AGHT+IEEcuCUUSpAPpHElSbaDtAnBTfcMmaCdLn3E381Klxm10tbrcq6UnS5Qj7u6ulM8ATEx+7M X-Received: by 2002:a05:600c:348c:b0:426:5440:854a with SMTP id 5b1f17b1804b1-42acc8d0bc5mr16962205e9.1.1724421218714; Fri, 23 Aug 2024 06:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724421218; cv=none; d=google.com; s=arc-20240605; b=dJthHJF/as0Qdtcex+09NuRUEdwRTyP5tdZs3BXZx6utd01+cfFNfTEIhPVAM70xyF yrvqX8vy14zb+KebrAR8YIgFdsvIUqqyKairlUxC1CsPA79OEP5gBLWQvwqXAA7Xqsw7 q0BuQDc6MtHRGsXmsn8lRwitQlL7O3W34uSjxupAl/MahbeN3tJnpqGsUHWhwThh9tp/ ql4GOHvhsR5XfuVBgsbEyqGfqiHIjbLjsdi49H0wRHj3bAgDvekTMtQ+nXTHjPYmcwNI 52WaPMqKmCznQqpUTMvZ2hk+GvoTLkQs7gspFTHTkbbm4cQcHRI7N5pg4hMWx3n7HmDv jVLg== 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=KAmcDLcm8gMSoXktQ/zIzBQ5o2nyA4ig27Op+v1LseUW2wf74+Im3hC9CqP/tke5fr u5fq+mNZGhuxA44FbSgVJNSF+dvoAcRyxwTVT7E5srCJi9QSE2gLUAnYzLiHqa/tOUxm SbDezIhl2pczm6JRKxffQpO8s8yX1hm6aWPYjfvlGDGakNJxWlZsHa1ErWJqOlORXu6s 4scG1zkPsBXaE4NQWz3mtXTouy+/kv9ux/UqJd8DnwWbqk0XjJhFp1jtSsoIw7dr/QY/ 1P+Bs908kZE9hCFTNEGtvQHwnreSjhy7PZVMGcSTEo8rVdCvZQfCHsFXMbBhFbJFLCTm /Ekw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QLQvptyc; 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 5b1f17b1804b1-42ac51618casi18862075e9.96.2024.08.23.06.53.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2024 06:53:38 -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=QLQvptyc; 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 A7BD988C42; Fri, 23 Aug 2024 15:50:10 +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="QLQvptyc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 05B0E88C17; Fri, 23 Aug 2024 15:50:09 +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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 23CD4889D2 for ; Fri, 23 Aug 2024 15:50: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-x432.google.com with SMTP id ffacd0b85a97d-371936541caso910834f8f.0 for ; Fri, 23 Aug 2024 06:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724421006; x=1725025806; 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=QLQvptycWiIui7gDl6oJduNayUkSjbxx/hO2TlU0qt5Hp4mzNazTovtZwFt+OA4YBD N/OrujlaBpRZlXvA3b6a8MpYufd9IZhhHk4F8W+rknRP/mM1kzUitvKSv388CkTExR2I 8oL2G2zlLEKP+kvWL+VHPzRhqLNrFj0LKfkt75NiaUe9AvTv18SVsGlqe+CHD+/b+7TJ FfL7yjcgDkC+pq6dtft49W+cfoDLNvuCXMStNDllS7ApQvpOzTx4i2hEJ2wnzgbPyP+m acR8JJSSyUZflTGpFpEmwTLOngDdTRU4Ssfc17ct69scWukN3+t3rax77OTD/nfjf2V2 JpOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724421006; x=1725025806; 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=o1/fzXqSa7wfermXlek55gw21ZkXw5XpMvhqY7o+IB8vMCe1ZI1MpIMldeJsX20RTH lEb8raa0ZXuleisR7i/ni46EDpcFEMdE81y1wM+8HTqISDf0UPBElZlhwVI7YKMy6dVl YoPU4A2RzdQsl3Pz9T5KuWqew1A+raYN+jFVYZuSW7PALsXTae//26I932DPu8Hpcm+j F3W/aYpAnMI/yQ+V+eEZtQUG8/Td4lWjo/Ex7zyxr4khhxZbikchbRn/K7pCEwap289x cF6sxRjmPbtzz1XyYx3eeDkjcjuq5s62YzlmKmhe0OqfHTWChHTIu/aqkrrIUeCKuTFU R3vA== X-Gm-Message-State: AOJu0YwhXVOVzhtnGdlRv+4KZ7Mzaige2S73WslD7GXR/tfaCtk1uOTe UeVz1Q2kGxJIkNzsfVLvqzpuZ7BWAxDegN3t21QMOM6BfEj2VrVc9WKdsxt3P5oXnz49AkHSqB5 T1w0/TEu5 X-Received: by 2002:adf:ce88:0:b0:368:7a04:7f5b with SMTP id ffacd0b85a97d-373118d12b0mr1627665f8f.40.1724421006406; Fri, 23 Aug 2024 06:50:06 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:e668:dc94:35c7:8064]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-373081ffb40sm4201665f8f.76.2024.08.23.06.50.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2024 06:50:06 -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 v9 26/37] net-lwip: lwIP wget supports user defined port in the uri, so allow it. Date: Fri, 23 Aug 2024 15:48:30 +0200 Message-Id: <9a357746ad72f7b78320d225c9d020e283000a8c.1724419624.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 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);