Commit cdec4dc9 authored by Min RK's avatar Min RK

allow underscores in domain names

Since they are allowed

(They are not, however, allowed in hostnames)
parent add4e767
......@@ -845,8 +845,10 @@ int zmq::socket_base_t::connect (const char *addr_)
while (isalnum (*check)
|| isxdigit (*check)
|| *check == '.' || *check == '-' || *check == ':' || *check == '%'
|| *check == ';' || *check == ']')
|| *check == ';' || *check == ']' || *check == '_'
) {
check++;
}
}
// Assume the worst, now look for success
rc = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment