https://bugs.kde.org/show_bug.cgi?id=316092
Bug ID: 316092 Summary: Source view don't actually shows the source of a mail Classification: Unclassified Product: kmail2 Version: Git (master) Platform: Other OS: Linux Status: UNCONFIRMED Severity: minor Priority: NOR Component: UI Assignee: kdepim-bugs@kde.org Reporter: b...@sandroknauss.de The source View for an email tries to be smart and wants to make the mail vaild to the contentTransferEncoding header. If you have a non valid mail (content is not in the right contentTransferEncoding), this this looks freaky and makes it hard to locate any kind of bug. One example of the wrong source view interface you find at bug https://bugs.kde.org/289728. Reproducible: Always Steps to Reproduce: 1. use a non valid mail (ContentTransferEncoding doesn't match with content) [see attchment]. 2. open this mail with View Source in kmail. Actual Results: Source view shows the mail like this: Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" BEGINPGPMESSAGEVersionGnuPGv1411GNU/LinuxhQEMA5XFb/XflcUEAQf8DgQ4PWfOI7Q9WRw nN/V9qu7fIJRlK7sqb9DKF/PlaNy8ZfTf/TNG5MJ+yokeX0nXkRBCPdVBLVLRnfuUam2xK3kC1LV 6ORPRWBJcTyj27pKejXemSenPb0H1dXZwqNvf3g/wYRKbgU+6R2zQVlb8dvwoP48S3pOFSYfrmr4 xXSwvJ+xcgQ6u8ul27tZ7HhdSwlYrV7HF5aPFQZL00zqZ1Pxth0qss8aaW8aOAnjssncW2ipN6u8 dtVMMdr+AWPPI15Tyatvo6m7O532FTkz1+keIwGf0eFZsbYbriMY44ff5YKNnM7GMULXOC61bGuw aF51Rapy2IT4suLMvlaCt0dJIAaw2qCWbCKz7agF2WaGvhcuQJmmcTQ9DmrlDvXY4NUUHM/1Ga/j euZUIK5TtDch5eECh0tBOhwEjJPNZcRg22ZvhOdUfzj/HAzFD8ENDPGPMESSAGEACg== Expected Results: Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" -----BEGIN PGP MESSAGE----- Version: GnuPG v2.0.19 (GNU/Linux) hQIOA2EOZthMz4KpEAgA6MjhMzsjgDQlmAXB39JgvoAE0v2+1qN7hztb8rSMVrkD GRislUNIedEW8htmiC1dOrm8GxOhuUTlcVeQhpz17uIFng377ZLbpER7FUma3hv9 .... -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs