diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-01-02 20:18:27 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-01-10 10:49:51 +0100 |
commit | 98e6629154044e4ab1ee7cff8351c7ebcb131e88 (patch) | |
tree | e02c52b9eab8cce69bbd885c3b52202451290f75 /tests/data | |
parent | afeb8d99022255279ee63125f2fa0f69810ce9c3 (diff) |
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
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.inc | 2 | ||||
-rw-r--r-- | tests/data/test1621 | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 79bbc657d..85cf2755c 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -182,7 +182,7 @@ test1560 test1561 test1562 \ test1590 test1591 test1592 \ \ test1600 test1601 test1602 test1603 test1604 test1605 test1606 test1607 \ -test1608 test1609 test1620 \ +test1608 test1609 test1620 test1621 \ \ test1650 test1651 test1652 test1653 \ \ diff --git a/tests/data/test1621 b/tests/data/test1621 new file mode 100644 index 000000000..1117d1bd2 --- /dev/null +++ b/tests/data/test1621 @@ -0,0 +1,27 @@ +<testcase> +<info> +<keywords> +unittest +stripcredentials +</keywords> +</info> + +# +# Client-side +<client> +<server> +none +</server> +<features> +unittest +https +</features> + <name> +unit tests for stripcredentials from URL + </name> +<tool> +unit1621 +</tool> +</client> + +</testcase> |