I did this
Built curl-7.65.3 from source and included (among other options) --disable-netrc. Tried to HTTP download from various public websites using the curl build (I ensured my PATH & LD_LIBRARY_PATH were setup to use only my build) but getting failures:
$ curl -o index2.html http://www.google.com
curl: (48) An unknown option was passed in to libcurl
curl -o index2.html https://www.google.com
curl: (48) An unknown option was passed in to libcurl
When I build with --enable-netrc then it works fine.
I expected the following
Successfully download webpages which do not require authentication.
curl/libcurl version
curl 7.65.3 (x86_64-pc-linux-gnu) libcurl/7.65.3 OpenSSL/1.0.2s zlib/1.2.11
Release-Date: 2019-07-19
Protocols: http https
Features: AsynchDNS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets
operating system
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
I did this
Built curl-7.65.3 from source and included (among other options)
--disable-netrc. Tried to HTTP download from various public websites using the curl build (I ensured my PATH & LD_LIBRARY_PATH were setup to use only my build) but getting failures:When I build with
--enable-netrcthen it works fine.I expected the following
Successfully download webpages which do not require authentication.
curl/libcurl version
operating system