From kde-bugs-dist Thu Apr 30 21:32:35 2015 From: Denis Pesotsky aka Obey-Kun Date: Thu, 30 Apr 2015 21:32:35 +0000 To: kde-bugs-dist Subject: [kgpg] [Bug 346983] New: KGpg editor accepts rich text (but it should not!) Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=143042956415221 https://bugs.kde.org/show_bug.cgi?id=346983 Bug ID: 346983 Summary: KGpg editor accepts rich text (but it should not!) Product: kgpg Version: unspecified Platform: Compiled Sources OS: All Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: kde@opensource.sf-tec.de Reporter: obey@obey.su When copy-pasting encrypted message from some web page to KGpg editor, it saves rich text insertions. Decryption fails with error message that contains decrypted message. Reproducible: Always Steps to Reproduce: 1. copy-paste encrypted message with rich text insertions to editor 2. try to decrypt it Actual Results: Editor shows encrypted message Expected Results: Decryption fails with error message that contains decrypted message Decryption fails because gpg process fails with code 2, however [i guess] KGpgTextOrFileTransaction::decryptedText() still can output result. Problem is fixed after adding "setAcceptRichText(false);" line to KgpgTextEdit constructor in editor/kgpgeditor.cpp. Of course it should not accept rich text!!! -- You are receiving this mail because: You are watching all bug changes.