urlglob: improve error message

to help user understand what the problem is

Reported-by: Daniel Shahaf

Fixes #2763
Closes #2977
This commit is contained in:
Daniel Stenberg 2018-09-11 22:03:47 +02:00
parent 92f9db1746
commit ddb06ffc0f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 9 additions and 6 deletions

View file

@ -44,7 +44,9 @@ perl %SRCDIR/libtest/test75.pl http://%HOSTIP:%HTTPPORT/ 22
3
</errorcode>
<stdout mode="text">
curl: (3) [globbing] bad range in column 47
curl: (3) bad range in URL position 47:
http://a-site-never-accessed.example.org/[2-1]
^
</stdout>
</verify>
</testcase>