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 [EMAIL PROTECTED]

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

--- shadow/78640        2006-06-14 04:27:40.000000000 -0400
+++ shadow/78640.tmp.1511       2006-06-14 04:27:40.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 78640
+Product: Mono: Class Libraries
+Version: 1.1
+OS: SUSE 9.2
+OS Details: actually SuSe Linux 10.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: LosFormatter::Serialize() does not code to Base64
+
+Description of Problem:
+System.Web.UI.LosFormatter class, method Serialize() in .Net returns string
+coded in Base64, but in Mono 1.1.15_2 returned string is not codedÂ… 
+
+Steps to reproduce the problem:
+1.Create simple web application and put this in default.ascx.cs class
+               private void Page_Load(object sender, EventArgs e)
+               {
+                       string s = "Hello world";
+                       LosFormatter lf = new LosFormatter();
+                       MemoryStream ms = new MemoryStream();
+                       lf.Serialize(ms, s);
+                                      
Response.Write(Encoding.UTF8.GetString(ms.GetBuffer(), 0,
+(int)ms.Length));
+               }
+
+Actual Results:
+"  Hello World"
+
+Expected Results:
+Coded in Base64: "SGVsbG8gd29ybGQ= "
+
+How often does this happen? 
+Every time
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to