diff options
author | Jakub Bereżański <kuba@berezanscy.pl> | 2017-10-30 18:20:44 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-01 13:46:39 +0900 |
commit | 601e1e7897022b1f166c81e58c95e9afa06cac25 (patch) | |
tree | 1f31d8f4f907b06e4a67ea2eaf4134598faf1c7e /t/t6131-pathspec-icase.sh | |
parent | t0302: check helper can handle empty credentials (diff) | |
download | tgif-601e1e7897022b1f166c81e58c95e9afa06cac25.tar.xz |
wincred: handle empty username/password correctly
Empty (length 0) usernames and/or passwords, when saved in the Windows
Credential Manager, come back as null when reading the credential.
One use case for such empty credentials is with NTLM authentication, where
empty username and password instruct libcurl to authenticate using the
credentials of the currently logged-on user (single sign-on).
When locating the relevant credentials, make empty username match null.
When outputting the credentials, handle nulls correctly.
Signed-off-by: Jakub Bereżański <kuba@berezanscy.pl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6131-pathspec-icase.sh')
0 files changed, 0 insertions, 0 deletions