[Mono-bugs] [Bug 80152][Blo] New - Changes in HttpRequest (MapPath) breaks Server.Execute (regression)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 5 12:20:30 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by informatique.internet at fiducial.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=80152

--- shadow/80152	2006-12-05 12:20:30.000000000 -0500
+++ shadow/80152.tmp.20343	2006-12-05 12:20:30.000000000 -0500
@@ -0,0 +1,96 @@
+Bug#: 80152
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Changes in HttpRequest (MapPath) breaks Server.Execute (regression)
+
+Description of Problem:
+There's an infinite loop with Server.Execute
+
+Steps to reproduce the problem:
+1. index.aspx
+<%@ Page Language="C#" Inherits="TestExecute.Default" %>
+
+index.aspx.cs
+using System;
+using System.Web;
+using System.Web.UI;
+
+namespace TestExecute
+{
+
+    public class Default : Page
+    {
+
+        protected override void OnLoad(System.EventArgs e)
+        {
+        	Console.WriteLine("Hello from page... index.aspx");
+        	Server.Execute("./Other.aspx");
+        }
+    }
+}
+
+Other.aspx
+<%@ Page Language="C#" Inherits="TestExecute.Other" %>
+
+Other.aspx.cs
+using System;
+using System.Web;
+using System.Web.UI;
+
+namespace TestExecute
+{
+	
+	
+	public class Other : Page
+	{
+		
+		protected override void OnLoad(System.EventArgs e)
+		{
+			Console.WriteLine("Hello from other");
+		}
+		
+
+	}
+}
+
+2.Run xsp and point http://localhost:8080/
+
+Actual Results:
+
+ xsp
+xsp
+Listening on port: 8080 (non-secure)
+Listening on address: 0.0.0.0
+Root directory: /home/hubert/Projects/testweb/testweb
+Hit Return to stop the server.
+Hello from page... index.aspx
+Hello from page... index.aspx
+(-----Line repeated many times)
+Segmentation Fault
+
+
+Expected Results:
+Hello from page... index.aspx
+Hello from other
+
+How often does this happen? 
+always
+
+Additional Information:
+this bug is caused by this :
+http://svn.myrealbox.com/viewcvs/trunk/mcs/class/System.Web/System.Web/HttpRequest.cs?rev=68776&r1=61465&r2=68776
+
+this is a regression


More information about the mono-bugs mailing list