Summary: | View Source: Some headers not correctly detected and not bold | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | hanno |
Component: | messageviewer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ruchir.brahmbhatt |
Priority: | NOR | Keywords: | triaged |
Version: | 1.9.8 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | screenshot of undetected header |
Description
hanno
2007-11-22 13:40:54 UTC
Created attachment 22161 [details]
screenshot of undetected header
Very similar to bug 88271. The header parsing code isn't very sophisticated there. Reproducible on trunk revision 958061. SVN commit 960620 by jtamate: BUG: 88271 BUG: 152707 Use the right regular expresion to check for mail headers. Also, use a mini ad-hoc state machine to not treat all that looks like headers as headers. When a blank line is found, it is supposed to start a body part, until a header with Content- is found. M +28 -5 mailsourceviewer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=960620 SVN commit 961651 by tmcguire: Backport r960620 by jtamate from trunk to the 4.2 branch: CCBUG: 88271 CCBUG: 152707 Use the right regular expresion to check for mail headers. Also, use a mini ad-hoc state machine to not treat all that looks like headers as headers. When a blank line is found, it is supposed to start a body part, until a header with Content- is found. M +28 -5 mailsourceviewer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=961651 |