curl/lib
Stefan Eissing 74ac8e74ec
creds: create with empty user+pass
Allow creation of a `Curl_creds` instance with empty username and
password (not NULL username/password). There are authentication
schemes like <insert greek mythology'> that do not use the actual
values of username/password but trigger on the mere existance.

We have no test cases for this, so this is a shot in the dark
here.

Fixes #21943
Reported-by: Dan Fandrich
Closes #22044
2026-06-17 07:54:11 +02:00
..
curlx
vauth
vquic cf-dns: pass peer for result lookups 2026-06-16 23:15:43 +02:00
vssh
vtls cf-dns: pass peer for result lookups 2026-06-16 23:15:43 +02:00
.gitignore
altsvc.c
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-base.c
asyn-thrdd.c
asyn.h
bufq.c
bufq.h
bufref.c
bufref.h
cf-dns.c cf-dns: pass peer for result lookups 2026-06-16 23:15:43 +02:00
cf-dns.h cf-dns: pass peer for result lookups 2026-06-16 23:15:43 +02:00
cf-h1-proxy.c
cf-h1-proxy.h
cf-h2-proxy.c
cf-h2-proxy.h
cf-haproxy.c
cf-haproxy.h
cf-https-connect.c cf-dns: pass peer for result lookups 2026-06-16 23:15:43 +02:00
cf-https-connect.h
cf-ip-happy.c cf-dns: pass peer for result lookups 2026-06-16 23:15:43 +02:00
cf-ip-happy.h
cf-setup.c
cf-setup.h
cf-socket.c
cf-socket.h
cfilters.c
cfilters.h
CMakeLists.txt
config-mac.h
config-os400.h
config-riscos.h
config-win32.h
conncache.c
conncache.h
connect.c
connect.h
content_encoding.c
content_encoding.h
cookie.c cookie: use origin scheme for secure context check 2026-06-15 22:30:14 +02:00
cookie.h cookie: use origin scheme for secure context check 2026-06-15 22:30:14 +02:00
creds.c creds: create with empty user+pass 2026-06-17 07:54:11 +02:00
creds.h
cshutdn.c
cshutdn.h
curl_addrinfo.c
curl_addrinfo.h
curl_config-cmake.h.in
curl_ctype.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_fopen.c
curl_fopen.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memrchr.c
curl_memrchr.h
curl_ntlm_core.c
curl_ntlm_core.h
curl_printf.h
curl_range.c
curl_range.h
curl_sasl.c
curl_sasl.h
curl_setup.h
curl_sha256.h
curl_sha512_256.c
curl_sha512_256.h
curl_share.c
curl_share.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curl_trc.c
curl_trc.h
cw-out.c
cw-out.h
cw-pause.c
cw-pause.h
dict.c
dict.h
dllmain.c
dnscache.c
dnscache.h
doh.c
doh.h
dynhds.c
dynhds.h
easy.c
easy_lock.h
easygetopt.c
easyif.h
easyoptions.c
easyoptions.h
escape.c
escape.h
fake_addrinfo.c
fake_addrinfo.h
file.c
file.h
fileinfo.c
fileinfo.h
formdata.c curl_formdata: fix to pass long where missing, document CURLFORM_NAMELENGTH 2026-06-15 16:57:21 +02:00
formdata.h
ftp-int.h
ftp.c
ftp.h
ftplistparser.c
ftplistparser.h
functypes.h
getenv.c
getinfo.c
getinfo.h
gopher.c
gopher.h
hash.c
hash.h
headers.c
headers.h
hmac.c
hostip.c
hostip.h
hostip4.c
hostip6.c
hsts.c
hsts.h
http.c cookie: use origin scheme for secure context check 2026-06-15 22:30:14 +02:00
http.h
http1.c
http1.h
http2.c
http2.h
http_aws_sigv4.c
http_aws_sigv4.h
http_chunks.c
http_chunks.h
http_digest.c
http_digest.h
http_negotiate.c url: connection credentials origin 2026-06-16 15:57:10 +02:00
http_negotiate.h
http_ntlm.c url: connection credentials origin 2026-06-16 15:57:10 +02:00
http_ntlm.h
http_proxy.c
http_proxy.h
httpsrr.c
httpsrr.h
idn.c
idn.h
if2ip.c
if2ip.h
imap.c
imap.h
ldap.c winldap: avoid NULL pointer deref on ldap_get_dn() fail 2026-06-15 18:38:29 +02:00
libcurl.def
libcurl.rc
libcurl.vers.in
llist.c
llist.h
macos.c
macos.h
Makefile.am
Makefile.inc
Makefile.soname
md4.c
md5.c
memdebug.c
mime.c
mime.h
mprintf.c
mqtt.c
mqtt.h
multi.c
multi_ev.c
multi_ev.h
multi_ntfy.c
multi_ntfy.h
multihandle.h
multiif.h
netrc.c
netrc.h
openldap.c
optiontable.pl
parsedate.c
parsedate.h
peer.c
peer.h
pingpong.c
pingpong.h
pop3.c
pop3.h
progress.c
progress.h
protocol.c
protocol.h
proxy.c
proxy.h
psl.c
psl.h
rand.c
rand.h
ratelimit.c
ratelimit.h
request.c
request.h
rtsp.c
rtsp.h
select.c
select.h
sendf.c
sendf.h
setopt.c setopt: mark function argument as unused *properly* 2026-06-15 23:08:59 +02:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h
sha256.c
sigpipe.h
slist.c
slist.h
smb.c
smb.h
smtp.c
smtp.h
sockaddr.h
socketpair.c
socketpair.h
socks.c cf-dns: pass peer for result lookups 2026-06-16 23:15:43 +02:00
socks.h
socks_gssapi.c
socks_sspi.c
splay.c
splay.h
strcase.c
strcase.h
strequal.c
strerror.c
strerror.h
system_win32.c
system_win32.h
telnet.c
telnet.h
tftp.c
tftp.h
thrdpool.c
thrdpool.h
thrdqueue.c
thrdqueue.h
transfer.c
transfer.h
uint-bset.c
uint-bset.h
uint-hash.c
uint-hash.h
uint-spbset.c
uint-spbset.h
uint-table.c
uint-table.h
url.c url: connection credentials origin 2026-06-16 15:57:10 +02:00
url.h
urlapi-int.h
urlapi.c
urldata.h url: connection credentials origin 2026-06-16 15:57:10 +02:00
version.c
ws.c
ws.h