Debug information should not be dumped to the end user.

Issue #8 resolved
hornd created an issue

Exceptions should be caught and handled and debug information should not be set to display to the browser. Partial example dump:

The specified string is not in the form required for an e-mail address.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: The specified string is not in the form required for an e-mail address.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: [FormatException: The specified string is not in the form required for an e-mail address.] System.Net.Mail.MailAddressParser.ReadCfwsAndThrowIfIncomplete(String data, Int32 index) +76 System.Net.Mail.MailAddressParser.ParseDomain(String data, Int32& index) +117 System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index) +95 System.Net.Mail.MailAddressParser.ParseAddress(String data) +24 System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) +225 System.Net.Mail.MailAddress..ctor(Strin

Comments (1)

  1. Log in to comment