* fixed output for local URIs
This commit is contained in:
Johannes Schlatow 2011-11-28 23:37:28 +01:00
parent ea44eaac1c
commit ab575372d7

View file

@ -195,6 +195,9 @@ std::string Uri::ToString ()
if (!_parsed) if (!_parsed)
return std::string (); return std::string ();
if (is_local ())
return _data;
std::string result; std::string result;
// strip password from _user // strip password from _user
std::string::size_type pos = _user.find (":"); std::string::size_type pos = _user.find (":");