We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test case some line ends with UrlScanner pattern ftp.
some line ends with UrlScanner pattern ftp.
this couse to exception
в MimeKit.Text.UrlScanner.SkipSubDomain(Char[] text, Int32 endIndex, Int32& index) в MimeKit.Text.UrlScanner.SkipDomain(Char[] text, Int32 endIndex, Int32& index) в MimeKit.Text.UrlScanner.GetWebEndIndex(UrlMatch match, Char[] text, Int32 startIndex, Int32 matchIndex, Int32 endIndex) в MimeKit.Text.UrlScanner.Scan(Char[] text, Int32 startIndex, Int32 count, UrlMatch& match) в MimeKit.Text.TextToHtml.WriteText(HtmlWriter htmlWriter, String text) в MimeKit.Text.TextToHtml.Convert(TextReader reader, TextWriter writer) в MimeKit.Text.TextConverter.Convert(String text)
because in this case endIndex is equal length of string
The text was updated successfully, but these errors were encountered:
Improved robustness by checking array bounds before indexing
47511b3
Fixes issue #161
No branches or pull requests
test case
some line ends with UrlScanner pattern ftp.
this couse to exception
because in this case endIndex is equal length of string
The text was updated successfully, but these errors were encountered: