Author: krasnov
Date: 2007-01-04 07:16:25 -0500 (Thu, 04 Jan 2007)
New Revision: 70464
Modified:
trunk/mcs/class/System.Web/System.Web/ChangeLog
trunk/mcs/class/System.Web/System.Web/HttpRequest.cs
Log:
* HttpRequest.cs: fixed Path property, add call of Uri.UnescapeDataString in
net_2_0
Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog 2007-01-04 12:10:20 UTC
(rev 70463)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog 2007-01-04 12:16:25 UTC
(rev 70464)
@@ -1,5 +1,10 @@
2007-01-04 Vladimir Krasnov <[EMAIL PROTECTED]>
+ * HttpRequest.cs: fixed Path property, add call of
+ Uri.UnescapeDataString in net_2_0
+
+2007-01-04 Vladimir Krasnov <[EMAIL PROTECTED]>
+
* HttpApplication.cs: fixed PreStart, should not set thread culture
to invariant
Modified: trunk/mcs/class/System.Web/System.Web/HttpRequest.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpRequest.cs 2007-01-04
12:10:20 UTC (rev 70463)
+++ trunk/mcs/class/System.Web/System.Web/HttpRequest.cs 2007-01-04
12:16:25 UTC (rev 70464)
@@ -888,7 +888,11 @@
public string Path {
get {
if (unescaped_path == null)
+#if NET_2_0
+ unescaped_path = Uri.UnescapeDataString
(UrlComponents.Path);
+#else
unescaped_path = HttpUtility.UrlDecode
(UrlComponents.Path);
+#endif
return unescaped_path;
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches