[Mono-bugs] [Bug 78640][Maj] New - LosFormatter::Serialize() does
not code to Base64
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jun 14 04:27:40 EDT 2006
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 andriy.tkach at stu-electronics.com.
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: gonzalo at ximian.com
+ReportedBy: andriy.tkach at stu-electronics.com
+QAContact: mono-bugs at ximian.com
+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
More information about the mono-bugs
mailing list