[Mono-bugs] [Bug 81317][Wis] New - HttpListenerRequest returns incorrect results when using HttpListener

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Apr 5 08:24:43 EDT 2007


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 opless at gmail.com.

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

--- shadow/81317	2007-04-05 08:24:43.000000000 -0400
+++ shadow/81317.tmp.9802	2007-04-05 08:24:43.000000000 -0400
@@ -0,0 +1,61 @@
+Bug#: 81317
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: OSX 10.3.9
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: opless at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: HttpListenerRequest returns incorrect results when using HttpListener
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When using "HttpListener" it returns a HttpListenerContext for each request
+it handles.
+The Request is held in "HttpListenerRequest"
+
+Firstly AcceptTypes returns a null array (.NET returns a set of mimetypes)
+Secondly QueryString returns the leading "?" in the query string to the
+first parameter, whereas .NET does not.
+
+
+Actual Results:
+Raw URL: "/?moo=cow&cow=moo"
+Query:
+{
+    [?moo] = "cow"
+    [cow] = "moo"
+}
+Raw URL: "/?cow"
+Query:
+{
+    [] = "?cow"
+}
+
+Expected Results:
+Raw URL: "/?moo=cow&cow=moo"
+Query:
+{
+    [moo] = "cow"
+    [cow] = "moo"
+}
+Raw URL: "/?cow"
+Query:
+{
+    [] = "?cow"
+}
+
+How often does this happen? 
+All the time
+
+Additional Information:


More information about the mono-bugs mailing list