]> git.ipfire.org Git - thirdparty/curl.git/commit
netrc: use the URL-decoded user
authorDaniel Stenberg <daniel@haxx.se>
Wed, 12 Oct 2022 21:48:38 +0000 (23:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Oct 2022 21:42:07 +0000 (23:42 +0200)
commita2aa980886394db00a32d14b94e3bbbe1ea725cd
tree33aed50c0e946d6fdd605b8ed58b7ef62f7acc8a
parent6efb6b1e772934da9f3bc0d5dba5420da14ce587
netrc: use the URL-decoded user

When the user name is provided in the URL it is URL encoded there, but
when used for authentication the encoded version should be used.

Regression introduced after 7.83.0

Reported-by: Jonas Haag
Fixes #9709
Closes #9715
lib/url.c