Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_netrc fallback regression in 8.11.0? #15734

Closed
kevinsun49 opened this issue Dec 13, 2024 · 0 comments
Closed

_netrc fallback regression in 8.11.0? #15734

kevinsun49 opened this issue Dec 13, 2024 · 0 comments
Assignees

Comments

@kevinsun49
Copy link
Contributor

kevinsun49 commented Dec 13, 2024

I did this

Attempted a git fetch command with Git for Windows 2.47.1 (which updated cURL to 8.11.0) with only a ~/_netrc file present, no ~/.netrc

I expected the following

Successful git fetch using ~/_netrc as the fallback option when ~/.netrc is not present

Possible introduction of regression in 3b43a05 with introduction of NETRC_FAILED retcode in parsenetrc(). Curl_parsenetrc() is only looking for NETRC_FILE_MISSING to enter the ~/_netrc fallback segment.

curl/libcurl version

curl 8.11.0

operating system

Microsoft Windows

kevinsun49 added a commit to kevinsun49/curl that referenced this issue Dec 13, 2024
@vszakats vszakats added authentication Windows Windows-specific labels Dec 13, 2024
@bagder bagder self-assigned this Dec 13, 2024
@bagder bagder closed this as completed in 0439499 Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants