From ab575372d73110eab3c95944e17274a195aaa44d Mon Sep 17 00:00:00 2001 From: Johannes Schlatow Date: Mon, 28 Nov 2011 23:37:28 +0100 Subject: [PATCH] Feature #881 * fixed output for local URIs --- src/Uri.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Uri.cpp b/src/Uri.cpp index e5283c8f6..a0ddd27fc 100644 --- a/src/Uri.cpp +++ b/src/Uri.cpp @@ -195,6 +195,9 @@ std::string Uri::ToString () if (!_parsed) return std::string (); + if (is_local ()) + return _data; + std::string result; // strip password from _user std::string::size_type pos = _user.find (":");