]> git.ipfire.org Git - thirdparty/curl.git/commit
ntlm: provide a fixed fake host name
authorDaniel Stenberg <daniel@haxx.se>
Fri, 20 May 2022 14:23:21 +0000 (16:23 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 May 2022 14:24:13 +0000 (16:24 +0200)
commit709ae2454f4387e6533e35a161ded6a5650cdf1c
tree0640666dafebe02564aa6d48886b70727c32c726
parentc92c650413b110c339723c06c2978ae6df5ff587
ntlm: provide a fixed fake host name

The NTLM protocol includes providing the local host name, but apparently
other implementations already provide a fixed fake name instead to avoid
leaking the real local name.

The exact name used is 'WORKSTATION', because Firefox uses that.

The change is written to allow someone to "back-pedal" fairly easy in
case of need.

Reported-by: Carlo Alberto
Fixes #8859
Closes #8889
lib/vauth/ntlm.c