[Mono-bugs] [Bug 56790][Wis] New - RewritePath returns 2 questionmark when rewriting url's with querystrings

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 10 Apr 2004 10:01:47 -0400 (EDT)


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 martijn@boland.org.

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

--- shadow/56790	2004-04-10 10:01:47.000000000 -0400
+++ shadow/56790.tmp.26877	2004-04-10 10:01:47.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 56790
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: Mono 0.31 Apache 2.0.49
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: martijn@boland.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: RewritePath returns 2 questionmark when rewriting url's with querystrings
+
+Description of Problem:
+
+RewritePath adds an extra questionmark to the url where one would be 
+enough ;).
+
+
+Steps to reproduce the problem:
+1. Use an ordinary ASP.NET webform with code-behind (default.aspx)
+2. Rewrite the url in the Page_Load event: RewritePath("rewritten.aspx?
+id=1")
+
+Actual Results:
+
+In the resulting html form you can see the url in the action attribute of 
+the form. It is <form name="Form1" method="post" action="rewritten.aspx??
+id=1" id="Form1">
+
+Expected Results:
+
+It should be rewritten.aspx?id=1 with one questionmark.
+
+How often does this happen? 
+
+Always