[Mono-bugs] [Bug 559575] System.Text.UTF7Encoding throws on invalid UTF7, unlike .Net 2.0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 17 05:59:57 EST 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=559575#c2


Tino Hager <t.hager at adrom.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.hager at adrom.net

--- Comment #2 from Tino Hager <t.hager at adrom.net> 2011-01-17 10:59:55 UTC ---
Same Problem with 2.6.7

I have the Same Problem with parse a Email from Yahoo

Unhandled Exception: System.ArgumentException: Arg_InvalidUTF7
Parameter name: chars
  at System.Text.UTF7Encoding.InternalGetChars (System.Byte[] bytes, Int32
byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex, System.Int32&
leftOver) [0x00000] in <filename unknown>:0
  at System.Text.UTF7Encoding.GetChars (System.Byte[] bytes, Int32 byteIndex,
Int32 byteCount, System.Char[] chars, Int32 charIndex) [0x00000] in <filename
unknown>:0
  at System.Text.Encoding.GetChars (System.Byte[] bytes, Int32 index, Int32
count) [0x00000] in <filename unknown>:0
  at System.Text.Encoding.GetString (System.Byte[] bytes, Int32 index, Int32
count) [0x00000] in <filename unknown>:0
  at System.Text.UTF7Encoding.GetString (System.Byte[] bytes, Int32 index,
Int32 count) [0x00000] in <filename unknown>:0
  at System.Text.Encoding.GetString (System.Byte[] bytes) [0x00000] in
<filename unknown>:0
  at MailBee.Mime.MailMessage.e () [0x00000] in <filename unknown>:0
  at MailBee.Mime.MailMessage.l () [0x00000] in <filename unknown>:0
  at MailBee.Mime.MessageParserConfig.Apply () [0x00000] in <filename
unknown>:0
  at MailBee.Mime.MailMessage.g () [0x00000] in <filename unknown>:0
  at MailBee.Mime.MailMessage.get_Subject () [0x00000] in <filename unknown>:0
  at MimeParserTest.Program.Main (System.String[] args) [0x00000] in <filename
unknown>:0

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