From nobody Sun Aug 21 06:46:49 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M9QyK6Wpwz4Z04d for ; Sun, 21 Aug 2022 06:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M9QyK4YLgz3c4P for ; Sun, 21 Aug 2022 06:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M9QyK3XB3z128x for ; Sun, 21 Aug 2022 06:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27L6kn5l081064 for ; Sun, 21 Aug 2022 06:46:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27L6knwW081063 for bugs@FreeBSD.org; Sun, 21 Aug 2022 06:46:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243299] fetch(1) fails to handle redirects on a valid URL Date: Sun, 21 Aug 2022 06:46:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pprocacci@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661064409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hMULmjrZr9PV7J3975H9tV+xTfSyi6waUSUQVDSrBw4=; b=H9iWKK2QAQIZVPvo8V6nBgSI86Vc+fMGf+Lgvr5c+4MRrot8ThKaD7SsO2OIseyGbyM8lU gM2lkZ3b6lxTnqLykMYJy7fOmRF83XCtc9t7bfy8pLJx7XILEvgpk042cTxKGl/XjW7fXV +AIdR4907KS5djsB9oADYyLyz+quHmosZzFjzHN2kL6k1iIOXnENnFwaIDJCrLzhpumJSY iAXI0eN2ou/nOCgWyuyNPF4OrFXTpUHrV8GVuPbidVReKZAl93+XCnDzRVg38LnAj7m/83 P4eTag9KMJA4CIln3R+ZcSoqAGcmYJIPOPcPF7JQSW8mfvEkNBsk3R4wRweO6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661064409; a=rsa-sha256; cv=none; b=JNAAaXlqS81QKooQeAhxZEFvX4DfKs3rro5Nujh0LvqFmtH3M+X24mg6iYS5/c0FR2sEXQ UcsAkhY12RF4VwSwVs9di0PYtpnBuzeoCHRJtY76ChZ6VCTj8N149KlOTWsJMVs7MpMwic DV4vHJ0+Wm+Yys8YDnGpaiwUxYUQX3pCGod0CRPjOJXS5FPnODTBwaXONt4RsPIUK/YogJ 9jstokJwG2J1M4nOe7hYjWUFXba840y7FwQVcbMTtKkJDx8xcJWyJsF4Qr+KLSRuxQ49le uPouue4EXKufvm2tGziNLPNaSfCVPZ80us5cfnSy06eiHgy4urzG9VWY/Q/ZJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243299 pprocacci@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #236031|0 |1 is obsolete| | --- Comment #3 from pprocacci@gmail.com --- Created attachment 236032 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236032&action= =3Dedit Updated patch to support redirected relative urls to fetch. Just added the check to the return of the function .... Hey it's 3am ... sheesh! --=20 You are receiving this mail because: You are the assignee for the bug.=