https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243299

            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: [email protected]
          Reporter: [email protected]

> $ fetch 
> "https://www.tddft.org/programs/libxc/down.php?file=4.3.4/libxc-4.3.4.tar.gz";
> fetch: 
> https://www.tddft.org/programs/libxc/down.php?file=4.3.4/libxc-4.3.4.tar.gz: 
> No address record


But wget succeeds:
> $ wget 
> "https://www.tddft.org/programs/libxc/down.php?file=4.3.4/libxc-4.3.4.tar.gz";
> --2020-01-12 11:40:57--  
> https://www.tddft.org/programs/libxc/down.php?file=4.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... connected.
> 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: ‘down.php?file=4.3.4%2Flibxc-4.3.4.tar.gz.4’
>
> down.php?file=4.3.4%2Flibxc-4.3.4.tar.gz.4    1%[>                            
>                                                             ] 279.68K   
> 187KB/s               ^

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to