Author: krasnov
Date: 2007-07-22 06:51:49 -0400 (Sun, 22 Jul 2007)
New Revision: 82433

Modified:
   trunk/mcs/class/System.Web/System.Web/ChangeLog
   trunk/mcs/class/System.Web/System.Web/HttpServerUtility.cs
Log:
* HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be called after 
ApplicationInstance.GetHandler call in case of GetHandler fails for some reason

Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog     2007-07-22 10:35:56 UTC 
(rev 82432)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog     2007-07-22 10:51:49 UTC 
(rev 82433)
@@ -1,3 +1,9 @@
+2007-07-22  Vladimir Krasnov  <[EMAIL PROTECTED]>
+
+       * HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be 
+       called after ApplicationInstance.GetHandler call in case of GetHandler
+       fails for some reason
+
 2007-07-21  Marek Habersack  <[EMAIL PROTECTED]>
 
        * HttpRuntime.cs: clean up the dynamic base directory on domain

Modified: trunk/mcs/class/System.Web/System.Web/HttpServerUtility.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpServerUtility.cs  2007-07-22 
10:35:56 UTC (rev 82432)
+++ trunk/mcs/class/System.Web/System.Web/HttpServerUtility.cs  2007-07-22 
10:51:49 UTC (rev 82433)
@@ -128,13 +128,13 @@
                                output = response.Output;
 
                        string oldFilePath = request.FilePath;
-                       request.SetCurrentExePath (UrlUtils.Combine 
(request.BaseVirtualDir, path));
                        IHttpHandler handler = 
context.ApplicationInstance.GetHandler (context);
                        TextWriter previous = null;
                        try {
 #if NET_2_0
                                context.PushHandler (handler);
 #endif
+                               request.SetCurrentExePath (UrlUtils.Combine 
(request.BaseVirtualDir, path));
                                previous = response.SetTextWriter (output);
                                if (!(handler is IHttpAsyncHandler)) {
                                        handler.ProcessRequest (context);

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

Reply via email to