noproxy: also match with adjacent comma

If the host name is an IP address and the noproxy string contained that
IP address with a following comma, it would erroneously not match.

Extended test 1614 to verify this combo as well.

Reported-by: Henning Schild

Fixes #9813
Closes #9814
This commit is contained in:
Daniel Stenberg 2022-10-27 13:54:27 +02:00
parent fc8d6b2370
commit efc286b7a6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 27 additions and 9 deletions

View file

@ -16,7 +16,7 @@ unittest
proxy
</features>
<name>
cidr comparisons
noproxy and cidr comparisons
</name>
</client>
<errorcode>