From patchwork Thu Jul 25 12:57:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 814351 Delivered-To: patch@linaro.org Received: by 2002:adf:e641:0:b0:367:895a:4699 with SMTP id b1csp379705wrn; Thu, 25 Jul 2024 06:00:22 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU6h99AVsp2Uz/0NagBouGISCvCN3s4m2k7Hn8dyv0GBGskh1EQ9XieemtK4p879h0OOrwQG1bEqXMUZJ8hMAfl X-Google-Smtp-Source: AGHT+IHw6pUsw0alCcXceIIm6vQYrc1jdwFoTul78whGqUMc1vMS89JGZkoEp/2vYwvLSx7PmqP1 X-Received: by 2002:a05:6512:3992:b0:52c:8a6b:6071 with SMTP id 2adb3069b0e04-52fd423fe9dmr807096e87.30.1721912422695; Thu, 25 Jul 2024 06:00:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721912422; cv=none; d=google.com; s=arc-20160816; b=xVn77cxuA06UrgpwOvK1rcbTOYfjC2N1XDOckxiKQVHithmh29Q3NsIeTzWcR+q6es xOMQJtTmedNv5PPGzhK8UeVL2DGubKE1N1AjO9h2eYc1+ZldxuAebB3p+0qR4hr/20qZ 2ilMNg0R/jz0A0ebvT+gSr0MfxJ9Prp9huHAyIEK3AWOIqYvrGi/MbAcOjncCeH2ZrY9 ObZQkapP6CPxbeWErZnuRQozsbjj1d0OGGyfwudTvXq48ggNAhHGiKZ+S8ZnpqIRR3l6 tcutS2LuQBDgEUaVusNse6sCASJ3aK4QR2N4OIE+VUjOuBGaWY2h9W/GSC2fbUm6MwBY x56A== 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=g3If221S4WKgA9rEpNqn7AEHmBfAM7tUTlSnHmD2xek=; b=edWteyotcCqlYc6yopuYR/82ERdUPmenEf/S7jCaDc0E0CUlRzSzqpbe1IVgAAisPH YL0Hb64vznEf3vJWBxcfIHcu1W85Yiu4U0RtxecaVmMqo/4JLcVRZ/vvvic43hc6w2Ag PpDSFdlgbkMvc0vzlxUJtXnFD4TdQYhNX2Wqw2RfjdIB6DOUEm9qxEpxJQl6pe7/3rZj ixkvCVRSAwBVpqmU0lZLxkiiBq1OmOEj29Na3PSk5CYEtXm2ihY43Ucq46MHvOUCGXTF OuVzfsEs+5cviiGKFVVR+1cMkUuiZi1xcQj9lk8OIpTwQhSfDswo5/yFsd+mWUNGqt4o SO1g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wSysDVxh; 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 2adb3069b0e04-52fd5bee7c1si466383e87.257.2024.07.25.06.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 06:00:22 -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=wSysDVxh; 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 14EF1884C5; Thu, 25 Jul 2024 14:59: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="wSysDVxh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9B01788370; Thu, 25 Jul 2024 14:59:06 +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 B9EEA87C38 for ; Thu, 25 Jul 2024 14:59:04 +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-427b1d4da32so11418775e9.0 for ; Thu, 25 Jul 2024 05:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721912344; x=1722517144; 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=wSysDVxhdOsivDeW5n8rPlB2U20/MSgvAyqNk+KgaCb9gIZ4lrCiLDilWnxQKL+mJK XMyDglGXy5QkDDaqlcqFV3Z4D57uWFslJ+3AZyJsxmBBldLst0opoxEGR4OHAHVCcGEh 0unrw9tXmTlBHKs2p9KRGC99Uegxqksyy8POIb/MgBd0PaLdEfKV9BfZLMayWC0pBzTo TNX/tVzK7ZQnB07q8nN6IADxvCQOUlCawmAYGdiy4KA4ehEYjYuttjXKJoFWR4LU9LVq Et9m0Z/PsJMiZs6ieZrg1fbULZqR/cvSwgc7/fvuo75S/P5qYnsoKT8Swd3RrSlEBfwd AhdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721912344; x=1722517144; 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=KtRHipPRKnUzKiD5z8HrYWiVYlAq0XXWOMZjq8M7goaTZ17tNWJvUyJPFu4BlxXFgi TtI+5cI2uFoNU+imzeaXdOw9opj9iOYc7o/FfikJ7QOKa9KzstaYKKQ95KLPIkF6q3HY 1MwJwQLZ9wzhWERPobwSpb/UTFZtsSypY+D/swi1posBVLdSDSuU/GmB8bSYQALV4cwV GA7ZmFx7jqQh1F1zmohZViuRutlj+n+RmPfj1ycMMo9A1p9VLbPkFeNhCioVzO9xrbNW ApV+sfpHaX2gdE39V2jk+0UkP3lurCOqfkOXVVNCm9mxl9Fsa2t/ohDxyM92/xdN+H5b rmQw== X-Gm-Message-State: AOJu0Yz1BquIh45G2yN/04LbXgI52GJg9bo4s8piBaQjrVpcbNtontRE eCc+nl4r+hPQe2u3o05HF+sE9obHqETbSItswB1fi+bo0ILn8GljhV54Pj/Me+zFrDpBEgYCHtv FP71hgw== X-Received: by 2002:a05:600c:4707:b0:426:62a2:34fc with SMTP id 5b1f17b1804b1-42803b482abmr19253495e9.11.1721912344077; Thu, 25 Jul 2024 05:59:04 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:a701:ef5f:d613:3e14]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4280573fd83sm34765205e9.19.2024.07.25.05.59.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 05:59:03 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Javier Tia , Raymond Mao , Maxim Uvarov , Jonathan Humphreys , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini Subject: [PATCH v5 14/20] net-lwip: lwIP wget supports user defined port in the uri, so allow it. Date: Thu, 25 Jul 2024 14:57:35 +0200 Message-Id: <04c0aedde61c2c130d4e59d49a79cfd0f8ada60e.1721910373.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);