[Mono-bugs] [Bug 74745][Nor] New - http basic credentials are being encoded using utf-8 char set
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 26 Apr 2005 15:38:33 -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 mlasky@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74745
--- shadow/74745 2005-04-26 15:38:33.000000000 -0400
+++ shadow/74745.tmp.13471 2005-04-26 15:38:33.000000000 -0400
@@ -0,0 +1,68 @@
+Bug#: 74745
+Product: Mono: Class Libraries
+Version: 1.1
+OS: SLES 9
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mlasky@novell.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc: jpallen@novell.com,rlyon@novell.com
+Summary: http basic credentials are being encoded using utf-8 char set
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+The http basic credentials that are sent by a web client are encoded
+using the utf-8 character set before they are uuencoded and set in the
+authorization header.
+
+According the the RFCs for the HTTP protocol and HTTP authentication:
+
+(RFC 2617 Section 2)
+To receive authorization, the client sends the userid and password,
+ separated by a single colon (":") character, within a base64 [7]
+ encoded string in the credentials.
+
+ basic-credentials = base64-user-pass
+ base64-user-pass = <base64 [4] encoding of user-pass,
+
+ except not limited to 76 char/line>
+ user-pass = userid ":" password
+ userid = *<TEXT excluding ":">
+ password = *TEXT
+
+
+(RFC 2616 Section 2.2)
+
+The TEXT rule is only used for descriptive field contents and values
+ that are not intended to be interpreted by the message parser. Words
+ of *TEXT MAY contain characters from character sets other than ISO-
+ 8859-1 [22] only when encoded according to the rules of RFC 2047
+ [14].
+
+
+So according to how I understand this the default character set for the
+unicode to byte encoding should be ISO-8859-1.
+
+Steps to reproduce the problem:
+1.
+2.
+3.
+
+Actual Results:
+
+
+Expected Results:
+
+
+How often does this happen?
+
+
+Additional Information: