]> git.ipfire.org Git - thirdparty/curl.git/commit
netrc: scanner refactor
authorStefan Eissing <stefan@eissing.org>
Fri, 15 May 2026 09:45:49 +0000 (11:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 May 2026 13:18:09 +0000 (15:18 +0200)
commit4ae1d7cc2643e4773a136395f12bc02fc6867854
treec92411a2f360b5e57f266102ccc3311709ca1e01
parent5c1e0179875427b68dad3827b70675c7fe82380f
netrc: scanner refactor

Refactor the netrc scanner. Add test case for checking that the last
matched machine with unmatched login does not return the password as
success (unit1304).

Closes #21624
lib/netrc.c
lib/netrc.h
lib/url.c
tests/unit/unit1304.c