[Mono-bugs] [Bug 80891][Wis] Changed - [2.0] HttpListener discards authentication data

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 21 17:39:52 EST 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 gonzalo at ximian.com.

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

--- shadow/80891	2007-02-18 16:34:25.000000000 -0500
+++ shadow/80891.tmp.20625	2007-02-21 17:39:52.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: grompf at sublimeintervention.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -23,6 +23,19 @@
 -g
 
 ------- Additional Comments From grompf at sublimeintervention.com  2007-02-18 16:34 -------
 Created an attachment (id=18732)
 patch
 
+
+------- Additional Comments From gonzalo at ximian.com  2007-02-21 17:39 -------
+In ParseAuthentication() I would not do a 'tolower + switch', but just
+a case-insensitive string comparison for the few different
+authentication types. Also make sure that authenticationData.Length is
+at least 2.
+
+Also if authData is an empty string, I belive that the GenericIdentity
+Authenticated property will be false. I don't know how this might
+affect other code.
+
+(I need to create a gonzalo.mono at gmail.com, as my ximian address does
+not work any more...)


More information about the mono-bugs mailing list