]> granicus.if.org Git - curl/commit
xattr: strip credentials from any URL that is stored
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Jan 2019 19:18:27 +0000 (20:18 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Jan 2019 09:49:51 +0000 (10:49 +0100)
commit98e6629154044e4ab1ee7cff8351c7ebcb131e88
treee02c52b9eab8cce69bbd885c3b52202451290f75
parentafeb8d99022255279ee63125f2fa0f69810ce9c3
xattr: strip credentials from any URL that is stored

Both user and password are cleared uncondtitionally.

Added unit test 1621 to verify.

Fixes #3423
Closes #3433
src/tool_xattr.c
tests/data/Makefile.inc
tests/data/test1621 [new file with mode: 0644]
tests/unit/Makefile.inc
tests/unit/unit1621.c [new file with mode: 0644]