Author: kostat
Date: 2007-04-01 08:03:49 -0400 (Sun, 01 Apr 2007)
New Revision: 75256

Modified:
   trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
Log:
use virtual path for Global.asax

Modified: trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs     
2007-04-01 11:29:58 UTC (rev 75255)
+++ trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs     
2007-04-01 12:03:49 UTC (rev 75256)
@@ -382,6 +382,7 @@
 
                                        if (app_file != null) {
 #if TARGET_J2EE
+                                               app_file = 
System.Web.Util.UrlUtils.ResolveVirtualPathFromAppAbsolute("~/" + 
Path.GetFileName(app_file));
                                                app_type = 
System.Web.J2EE.PageMapper.GetObjectType(context, app_file);
 #else
                                                app_type = 
ApplicationFileParser.GetCompiledApplicationType (app_file, context);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to