Merge pull request #1949 from lewurm/fixtype
[mono.git] / mcs / class / System / System.Net / EndPointListener.cs
index 9e2117625c615c066dcb14c1001652246f7eccfa..df73d85428e37786b523f71cb071de1522a4e3e8 100644 (file)
@@ -168,7 +168,7 @@ namespace System.Net {
 
                        string host = uri.Host;
                        int port = uri.Port;
-                       string path = HttpUtility.UrlDecode (uri.AbsolutePath);
+                       string path = WebUtility.UrlDecode (uri.AbsolutePath);
                        string path_slash = path [path.Length - 1] == '/' ? path : path + "/";
                        
                        HttpListener best_match = null;