Bolla, Péter wrote: > Bolla, Péter wrote: >> Hi All, >> >> I looked through the archives somewhat, but didn't find any similar bug >> report: whenever I send a mail with really long subject, Squirrelmail >> fails at the Subject header folding, and inserts extra spaces. >> >> Example: I send the mail with subject: "this is a really really very >> long subject line to make a good example of what my problem is" >> >> What squirrelmail sends out is this: (I replaced the spaces with >> underscore at the line break so that it is more visible, that there are >> a plenty of extra spaces added.) >> >> Subject: this is a really really very long subject line to make a good_ >> _____example of what my problem is >> >> According to RFC 2822, folding and unfolding should add and remove only >> the CRLF, and not the whitespaces. >> >> I have the problem with 1.4.9a and 1.4.10a. (It's a production >> environment, I can't test other versions, unfortunately.) I also tried >> to disable all the plugins, but the bug remained there. Is it a known >> bug and corrected in any version? >> >> Looking forward to your answer. >> >> Best, >> Peter > > Hi, > > Err, I don't want to look impatient, but does the lack of answer to this > means that no one knows about such error? Or just that we are waiting > for someone in charge of the topic? Ironically I'd started typing a reply to this yesterday before my computer crashed. Are you talking about sending, or receiving messages? If you're talking about outbound, then the issue is likely to be in class/deliver/Deliver.class.php in the foldLine function. If you're talking about the handling of incoming messages, then I believe the issue is in class/mime/Rfc822Header.class.php in the parseHeader function. The culprit is likely to be the str_replace at the start of the function that replaces "\n ", or "\n\t" with a space. I'll see what I can do. -- Jon Angliss <jon@xxxxxxxxxxxxxxxx> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users