test1621: Improve stripcredentials tests

- add more unusual input cases
- add a valid non-http protocol
- fix tests so an input that should be stripped but isn't is a failure
- fix detection of when stripcredentials() would be available to test
- avoid using a NULL pointer

Closes #17304
This commit is contained in:
Dan Fandrich 2025-05-06 23:39:22 -07:00
parent 674836399f
commit 38865c8282
2 changed files with 19 additions and 7 deletions

View file

@ -15,6 +15,7 @@ none
<features>
unittest
https
pop3s
</features>
<name>
unit tests for stripcredentials from URL