Author: gonzalo
Date: 2005-06-26 23:58:36 -0400 (Sun, 26 Jun 2005)
New Revision: 46533
Modified:
trunk/mcs/class/System.Web/System.Web.Util/ChangeLog
trunk/mcs/class/System.Web/System.Web.Util/UrlUtils.cs
Log:
2005-06-26 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* UrlUtils.cs: (Combine) if the base path is "~", expand it.
Modified: trunk/mcs/class/System.Web/System.Web.Util/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Util/ChangeLog 2005-06-27
01:23:02 UTC (rev 46532)
+++ trunk/mcs/class/System.Web/System.Web.Util/ChangeLog 2005-06-27
03:58:36 UTC (rev 46533)
@@ -1,5 +1,9 @@
2005-06-26 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+ * UrlUtils.cs: (Combine) if the base path is "~", expand it.
+
+2005-06-26 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
* StrUtils.cs: new string utilities.
2005-05-09 Ben Maurer <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/System.Web/System.Web.Util/UrlUtils.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Util/UrlUtils.cs 2005-06-27
01:23:02 UTC (rev 46532)
+++ trunk/mcs/class/System.Web/System.Web.Util/UrlUtils.cs 2005-06-27
03:58:36 UTC (rev 46533)
@@ -164,7 +164,7 @@
return Reduce (basePath + slash + relPath);
}
- if (basePath == null || basePath == "")
+ if (basePath == null || basePath == "" || basePath [0]
== '~')
basePath = HttpRuntime.AppDomainAppVirtualPath;
if (basePath.Length <= 1)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches