Author: igorz
Date: 2007-04-04 07:22:45 -0400 (Wed, 04 Apr 2007)
New Revision: 75382
Modified:
trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.jvm.cs
Log:
* TemplateControl: GetAssemblyResource is called with absolute virtual path
using VirtualPathUtility.ToAbsilute()
Modified: trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.jvm.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.jvm.cs
2007-04-04 11:07:26 UTC (rev 75381)
+++ trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.jvm.cs
2007-04-04 11:22:45 UTC (rev 75382)
@@ -352,7 +352,7 @@
java.lang.ClassLoader contextClassLoader =
c.getClassLoader ();
//TODO:move this code to page mapper
- string assemblyName = PageMapper.GetAssemblyResource
(Context, Context.Request.FilePath);
+ string assemblyName = PageMapper.GetAssemblyResource
(Context, VirtualPathUtility.ToAbsolute (AppRelativeVirtualPath));
if (assemblyName == null)
throw new HttpException (404, "The requested
resource (" + this.AppRelativeVirtualPath + ") is not available.");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches