cpp-netlib/uri

Parsing http://user@host gives bad host iterator and will crash

Closed this issue · 1 comments

network::uri address("http://user@host"); // bad last_colon for host in parse here
auto tmp = address.host();
std::string host = tmp.to_string(); // crashes here due to bad iterator

This is now fixed on master.