[Mono-bugs] [Bug 392875] SmtpClient doesn't escape dots

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 2 12:07:44 EDT 2008


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

User tedu at fogcreek.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=392875#c2





--- Comment #2 from Ted Unangst <tedu at fogcreek.com>  2008-06-02 10:07:44 MDT ---
Oh, I realized I attached a bad version of the patch.  It's missing these few
lines.

                       string line;
                        bool escapeDots = deliveryMethod ==
SmtpDeliveryMethod.Network;
+                       if (data == String.Empty) {
+                               writer.Write("\r\n");
+                               writer.Flush();
+                               return;
+                       }
                        while ((line = sr.ReadLine()) != null) {
                                CheckCancellation ();


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