[Mono-bugs] [Bug 59274][Maj] New - String.Replace mishandling \0 [TESTCASE ATTACHED]

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 28 May 2004 18:11:22 -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 grompf@sublimeintervention.com.

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

--- shadow/59274	2004-05-28 18:11:22.000000000 -0400
+++ shadow/59274.tmp.22083	2004-05-28 18:11:22.000000000 -0400
@@ -0,0 +1,24 @@
+Bug#: 59274
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: OSX 10.3.3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: grompf@sublimeintervention.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: String.Replace mishandling \0 [TESTCASE ATTACHED]
+
+Assuming a string of "123\0", calling String.Replace("\0", ""); doesn't remove the null 
+character.  It does on the Microsoft framework.  See the attached test case.
+
+Expected result:
+
+Remove the null character from the string.