[Mono-bugs] [Bug 645871] New: MailAddress class doesn't handle invalid email addresses.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 12 13:34:38 EDT 2010


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

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


           Summary: MailAddress class doesn't handle invalid email
                    addresses.
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.8.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: abe.gillespie at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


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

In MS .Net instantiating a new MailAddress object to an invalid email address
will throw an exception. This doesn't happen in Mono.

Reproducible: Always

Steps to Reproduce:
var addy = new MailAddress("foobar");

// 'splodes in MS .Net, Mono ignores and keeps going.

-- 
Configure bugmail: https://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