[Mono-bugs] [Bug 607249] New: Don't send plain text SMTP password if not supported

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 19 12:56:16 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=607249#c0


           Summary: Don't send plain text SMTP password if not supported
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tedu at fogcreek.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5

The SmtpClient Authenticate function only supports AUTH LOGIN.  Until more
methods are added, it really really really should not be just throwing a
plaintext password at the server and hoping it sticks.  Something like the
following needs to be added to the top of the function.

            if ((authMechs & AuthMechs.Login) == 0)
            {
                throw new SmtpException("AUTH LOGIN is not supported by the
server");
            }

Related to bug 552269.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
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