[Mono-bugs] [Bug 77291][Nor] New - xsp sends aspx source code to browser for download when using HttpContext.RewritePath

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 17 19:35:21 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 scottellington at comcast.net.

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

--- shadow/77291	2006-01-17 19:35:21.000000000 -0500
+++ shadow/77291.tmp.6534	2006-01-17 19:35:21.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 77291
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: scottellington at comcast.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: xsp sends aspx source code to browser for download when using HttpContext.RewritePath
+
+I discovered this issue when trying to run the Cuyahoga Content Management
+application: http://www.cuyahoga-project.org/
+
+This uses HttpContext.RewritePath to redirect urls.  However, with xsp the
+browser prompts for a download, and the downloaded file is the actual
+source code of the aspx file you are requesting.
+
+I have reproduced the issue with a simple app which I will attach in one
+second.  After running xsp from the directory, go to any url that is not
+index.aspx, such as:
+
+http://localhost:8080/inde.as
+
+The browser will prompt for download, and the file will be the full
+index.aspx source code.  The expected behavior is for xsp to run the
+redirected aspx page with the requested QueryString and PathInfo values.


More information about the mono-bugs mailing list