[Mono-bugs] [Bug 544036] New: string.Format with '\r' argument corrupts the output

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 2 18:32:30 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=544036


           Summary: string.Format with '\r' argument corrupts the output
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15
Version/10.00

string.Format with '\r' argument corrupts the output (I've tried with normal
printable characters as well as '\n' and I get the expected output).

Reproducible: Always

Steps to Reproduce:
csharp> string.Format ("Expected: '{0}'", "\r"); 
'"xpected: '




Marking as Major since string.Format is a pretty fundamental method.

> mono --version
Mono JIT compiler version 2.6 (/branches/mono-2-6/mono r143270 Sat Oct  3
00:09:19 CEST 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC and Parallel Mark)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list