Date: Sun, 12 Jan 2020 19:42:01 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243299] fetch(1) fails to handle redirects on a valid URL Message-ID: <bug-243299-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243299 Bug ID: 243299 Summary: fetch(1) fails to handle redirects on a valid URL Product: Base System Version: 12.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org > $ fetch "https://www.tddft.org/programs/libxc/down.php?file=3D4.3.4/libxc= -4.3.4.tar.gz" > fetch: https://www.tddft.org/programs/libxc/down.php?file=3D4.3.4/libxc-4= .3.4.tar.gz: No address record But wget succeeds: > $ wget "https://www.tddft.org/programs/libxc/down.php?file=3D4.3.4/libxc-= 4.3.4.tar.gz" > --2020-01-12 11:40:57-- https://www.tddft.org/programs/libxc/down.php?fi= le=3D4.3.4/libxc-4.3.4.tar.gz > Resolving www.tddft.org (www.tddft.org)... 193.137.208.200 > Connecting to www.tddft.org (www.tddft.org)|193.137.208.200|:443... conne= cted. > HTTP request sent, awaiting response... 302 Found > Location: down/4.3.4/libxc-4.3.4.tar.gz [following] > --2020-01-12 11:40:59-- https://www.tddft.org/programs/libxc/down/4.3.4/= libxc-4.3.4.tar.gz > Reusing existing connection to www.tddft.org:443. > HTTP request sent, awaiting response... 200 OK > Length: 15602575 (15M) [application/x-gzip] > Saving to: =E2=80=98down.php?file=3D4.3.4%2Flibxc-4.3.4.tar.gz.4=E2=80=99 > > down.php?file=3D4.3.4%2Flibxc-4.3.4.tar.gz.4 1%[> = ] 279.68= K 187KB/s ^ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243299-227>