Subject: | Test "Curl1 handle fails as expected" may fail on Windows and MacOS |
In my corporate network DHCP reports default domain and our DNS resolves
not known names to valid IP. This is needed to show custom 404 error to
those who misprinted in URL.
So, "error:bad-url" transforms into "error:bad-url.my-domain.org" and
successfully resolves into existing address.
Moreover, URIs with [*#$%/;] etc, and even with quotes are also valid
and successfully resolved.
Admittedly, curl on different Linuxes and FreeBSD does not try to get
such URIs (but they still resolved by "host"). This behavior of curl can
be fully reproduced on any Windows and MacOS.
To reproduce this you may add lycos.com or h1.org or livejournal.com as
default search domain. All of them resolve not known names to default IP.