Re: Can't decode MIME structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, November 10, 2006 3:07 pm, Ralf Hildebrandt wrote:
> A use forwarded a mail as attachment and when I want to look at that
> mail in SquirrelMail 1.4.8, I get:
>
> SquirrelMail kann die Nachrichtentextestruktur nicht dekodieren
> Die vom IMAP-Server zur Verfügung gestellte Nachrichtentextstruktur:
>
>
> (("text" "plain" ("charset" "iso-8859-15" "format" "flowed") NIL NIL
> "8bit" 446 20 NIL NIL NIL)("message" "rfc822" ("name" "Re:
> Brinkmeier") NIL NIL "8bit" 2271 ("Fri, 10 Nov 2006 13:43:25 +0100"
> "Re: Brinkmeier" (("Pontus Persson" NIL "pontus.persson"
> "charite.de")) (("Pontus Persson" NIL "pontus.persson" "charite.de"))
> (("Pontus Persson" NIL "pontus.persson" "charite.de")) (("Ralf Mrowka"
> NIL "ralf.mrowka" "charite.de")) (("Colb >> \\Helga.Colbatz\\" NIL
> "helga.colbatz" "charite.de")) NIL "<4554696E.3080002@xxxxxxxxxx>"
> "<455473ED.9050200@xxxxxxxxxx>") ("text" "plain" ("charset"
> "iso-8859-15" "format" "flowed") NIL NIL "8bit" 618 24 NIL NIL NIL) 58
> NIL ("inline" ("filename" "Re: Brinkmeier")) NIL) "mixed" ("boundary"
> "------------020004040802020001070904") NIL NIL)
>
>

It took me some time to refresh my bodystructure knowledge but after
looking at the code again I know why you are getting an error.
The "Colb >> \\Helga.Colbatz\\" part is causing an error. Because the
parseQuote function in the message class looks back for escape characters
it thinks the double quote is escaped. Probably I should look back one
character more and detect if the escape character is escaped and if yes,
then do start with slow parsing, which means iterate from start to end
through every character in the doublle quoted string and keeps track of
the number of escape characters.

Thanks for the report and I will take a look how I can fix this.

Regards,

Marc Groot Koerkamp.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux