Maildispatcher: escape '<' and '>' in error messages.
ClosedPublic

Authored by dfaure on Sep 15 2018, 11:14 AM.

Details

Summary

The plasma notification popup for the (new) error message

"The server said: 4.1.1 <doesnotexit@example.com>: Recipient address
 rejected: User unknown in local recipient table"

would truncate after 4.1.1. for lack of escaping.

Test Plan

Sending a mail to a non existing user on a kolab server.

Diff Detail

Repository
R44 KDE PIM Runtime
Branch
Applications/18.08
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2881
Build 2899: arc lint + arc unit
dfaure created this revision.Sep 15 2018, 11:14 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptSep 15 2018, 11:14 AM
Restricted Application edited subscribers, added: kde-pim; removed: KDE PIM. · View Herald Transcript
dfaure requested review of this revision.Sep 15 2018, 11:14 AM
vkrause accepted this revision.Sep 15 2018, 11:17 AM
This revision is now accepted and ready to land.Sep 15 2018, 11:17 AM
dfaure closed this revision.Sep 15 2018, 6:32 PM