Commit 7f41ec03 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fixed the bug that port number in URI is not parsed properly.

parent 5012f177
......@@ -214,6 +214,7 @@ bool parse(UriStruct& result, const std::string& uri)
} else if(65535 < tempPort) {
return false;
}
result.port = tempPort;
}
if(result.ipv6LiteralAddress) {
result.host.assign(hostPortFirst+1, hostLast-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