Skip to content
Snippets Groups Projects
Commit 32091915 authored by Антон Фетисов's avatar Антон Фетисов
Browse files

test: specify explicit non-numeric hosts in tests

All-numeric domains are now considered invalid, since they introduce confusion: one can assume
that an all-numeric domain is a port, and the server should bind to `localhost` with that port.

The specific change to domain parsing happens in a future commit. This commit fixes the tests in
preparation for it.

Note that all-numeric top-level domains are considered invalid according to RFC 952 and RFC 1123.
In fact, the top-level domain label must be alphabetic, but we do not place that restriction, since
local domains could have arbitrary format.
parent 8300c4f4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment