curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Comments in _netrc

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Aug 2017 14:34:09 +0200 (CEST)

On Wed, 2 Aug 2017, Gisle Vanem via curl-library wrote:

> I.e. lib/netc.c ignores the comment char '#'! Can this please be fixed?
> Something like:

Now pushed as a PR to run the CI tests: https://github.com/curl/curl/pull/1723

I also modified test 130 to verify that it ignores commented lines.

> It's also confusing that '%HOME%/.netrc' is NOT
> supported on Windows. An old issue on Win-9x perhaps?
> It would be great that '%HOME/_netrc' only said:
> include %HOME/.netrc

Yeah, it was always "_netrc" since the dawn of time. I can't remember exactly
why but I think there was some issue that triggered it. There's however a
CURLOPT_NETRC_FILE option that can help.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-08-02