From patchwork Fri Sep 6 12:33: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: 825964 Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp778486wrb; Fri, 6 Sep 2024 05:36:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVsjkl8IhbjrMyEx+8jQFAZ6M/RX2ohJcY0z+JVvNMwkUgYehDrZPHBzpWUMXyHa+CwbW9Q+A==@linaro.org X-Google-Smtp-Source: AGHT+IHW3orh25FesJKtFIeM+Nz6t+QZBoT2Ss2te43kjLC/1dV193zbiVHIax6KiBJDYyW2FSLY X-Received: by 2002:a17:907:31c8:b0:a7a:c083:857b with SMTP id a640c23a62f3a-a8a8887333cmr218874066b.42.1725626195243; Fri, 06 Sep 2024 05:36:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725626195; cv=none; d=google.com; s=arc-20240605; b=PWciIUqWJ09MVvnelZIOSmvWQbX4KL8YwnkcjeO1CGoH7p/OToswIkaxO5PqGzT05h P05qvOFalm4sweIyKDY7F51PQFpW3qnErDIvGWq0EurtwYYd13wMg57UBwwE+jc0cwo/ +TH6r/fskm26r2kMvhX1J/d+rAOdO8p1BmtUika/C3OmdIfKdcoItXIG/KYh4bPEblC4 yJHzFnuWmeURcFt0d0RELYU3Al06/Fhebeke7nRGfQ3TMgGnxJvNlZGI7Gk81zJwAtfE DwkaT+adkHi/Lk/WcCJLv+8N1ieFXIfwYYQziBb/oeGIiVaT4fYBWEaOU1DQM+VH7t2r MvKw== 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=Qfx7iGgZkfQHLB6XCWo/4ER0I3w51Xgbv7R7baxFOy1yUG/KTU/zrEMnvpsf7coPPM WUf+WZYPFUek60u9MDdH8H0wZ+q/ydSUFHzHxbBrx9W5DDF2YIk0gUfbsBZtMPsknwbo ks7n9r7cCUsgoCPavP0c5w4tpNNo4OpdwJz+XnO+0oQjGRC/SesHsp2xAxHSgEHFo1P3 Jcsm7uNXEQ8jnWl4KYbxHxdAbuh5pr0/Vd/9N2SRo3ItxBfncktJTSfgAtJhn967MIGW ofIECUgngZM/Kuiy7uNllyLbHj+ym0Dfv96Qg3KPvN8Bjv9NvkGttwfZsDcR0iyIU0bK 1fFw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sjiK+G3u; 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-a8a82883e75si143840866b.842.2024.09.06.05.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 05:36:35 -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=sjiK+G3u; 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 2338B88D1F; Fri, 6 Sep 2024 14:35:20 +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="sjiK+G3u"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B6F8388A24; Fri, 6 Sep 2024 14:35:18 +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-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 D7ACD88D10 for ; Fri, 6 Sep 2024 14:35:16 +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-x435.google.com with SMTP id ffacd0b85a97d-3780c8d689aso1150677f8f.0 for ; Fri, 06 Sep 2024 05:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725626116; x=1726230916; 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=sjiK+G3u4NokV/jxs58FBRDQe5I70tJdWgyG/6yaEwH5zStZ6WQ+W4Gfjet1FvWxYF lPS2TOS1Ao3E9pd70v5EwzJrHdoZ3nETTWN13OEv6efidfpbgtmnZksOLEhsm4oMrllB Q0XQo9YwTge7Zhy/4VFYC/KW3e2yNl+U9vxK0LPZvRdg8b3wXVCxItxvEy2XYfoC/gxm dk2lL6Bh4NjoC3ONNk1oC1ZoCx1VvvmTih7hfkASGsqvDJto3Bv4+i759GDAK/HROTqR 9vKgngWTXV5HqiTB5s0AQJF0YBnV7Z6AxC0M84WUEtp8F+VJll74kagmSeB3bLqgVD1R xsCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725626116; x=1726230916; 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=Jg3/A1kq/AeRvbJCVFCFfvPrYyC9/2GWgAZj0B5Sl5J1uD4fK8FLwgRfAlQif8BiIu 3Rh7vBtAuymobQdLXbvtR3Ugutcg0xSuE83wmFBbP7nWPyO7A7fJPtcR7R1T+bS/N0mT eDIr1QbkwCHzriLEkzC8chqybO8rULef4GVrNRAK3atS9IZK5x03852GkiMkdAn1Pf+k 1W22fUPov280PjHKR7GOr4VYwpxvHc1sQdN5nRJV9WD9nZamyc/ik4s5og2/YL0DCBZd 89ET+ZnhBKVyCjb5FXTic/JB2rXV7PdshmuIqBOFdeh/lib17xuDFz7XlVlxR/VyYW4v 1ujw== X-Gm-Message-State: AOJu0Yx4FJe0YyBLXy9LN+3k5zT9dEMw6SxT6EL7LHkalU8oerI6450r n0Hs3WUJC/rDviUikJNrsjX7K16LZHqTbrb9vnS1vGgwnIaBX5ihNHPRwo41i04a1hCqPl3rQor G7Wb0BkdG X-Received: by 2002:adf:f089:0:b0:374:be28:d808 with SMTP id ffacd0b85a97d-378895cafdamr1584996f8f.20.1725626116089; Fri, 06 Sep 2024 05:35:16 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:1ff1:215c:d8a4:9f99]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42ca05cf0e8sm19640125e9.27.2024.09.06.05.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 05:35:15 -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 v10 14/25] net-lwip: lwIP wget supports user defined port in the uri, so allow it. Date: Fri, 6 Sep 2024 14:33:30 +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);