[Mono-bugs] [Bug 681057] New: user's RealName has trailing commas

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Mar 19 07:54:09 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=681057

https://bugzilla.novell.com/show_bug.cgi?id=681057#c0


           Summary: user's RealName has trailing commas
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Mono.POSIX
        AssignedTo: miguel at novell.com
        ReportedBy: h.bons at student.rug.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US)
AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16

On some systems, when trying to get the user's real name like this:

string full_name  = new UnixUserInfo (UnixEnvironment.UserName).RealName;

the name has some trailing commas:

Hylke Bons,,,

See also http://ubuntuforums.org/showthread.php?t=732818

I don't know why the system does this, but it's not part of the user's name, so
they should be trimmed off.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

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


More information about the mono-bugs mailing list