2 ms·
Seems uncharitable to me. // TODO: Verify server name: require `^[a-zA-Z0-9_-]+$`? There may be several elements of server name verification to perform. Th
by quesera 1y ago
Seems uncharitable to me.
// TODO: Verify server name: require `^[a-zA-Z0-9_-]+$`?
There may be several elements of server name verification to perform.
That regex does not cover the complete range of possibilities for a server name.
The author apparently decided to punt on the correctness of this low-risk test -- pending additional thought, research, consultation, or simply higher prioritization.