+2003-02-01 Miguel de Icaza <miguel@ximian.com>
+
+ * Uri.cs (LocalPath): Local path should return un-escaped
+ strings. Patch from tum@veridicus.com (Thong (Tum) Nguyen)
+
2002-09-16 Duncan Mak <duncan@ximian.com>
* Uri.cs (GetObjectData):
// support *nix and W32 styles
if (path.Length > 1 && path [1] == ':')
- return path.Replace ('/', '\\');
+ return Unescape (path.Replace ('/', '\\'));
if (System.IO.Path.DirectorySeparatorChar == '\\')
- return "\\\\" + host + path.Replace ('/', '\\');
+ return "\\\\" + Unescape (host + path.Replace ('/', '\\'));
else
- return "/" + host + path;
+ return "/" + Unescape (host + path);
}
}