cpp-netlib/uri

Copy constructor fails!!!

Closed this issue · 1 comments

network::uri u("http://google.com");
cerr << u.host() << '\n';
u = network::uri("http://microsoft.com");
cerr << u.host() << '\n';

yields:

google.com
microsoft.

I saw your comments on the mailing list, and it seems this refers to an implementation of the URI library that is several years old. A quick check has shown that the current implementation behaves as expected.