aboutsummaryrefslogtreecommitdiffstats
path: root/src/htmlsanitiser.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-29 16:52:59 +0200
committerDanilo M. <danix@danix.xyz>2026-09-29 16:52:59 +0200
commite168af8d7d9a500759565719f16ed188ba8a8bcd (patch)
tree0246e655d2bcc1051d9e70c263f39692dd3d6e55 /src/htmlsanitiser.cpp
parentd2793dd583041941348d5a984764160ddd48102b (diff)
downloadqtmaildir-e168af8d7d9a500759565719f16ed188ba8a8bcd.tar.gz
qtmaildir-e168af8d7d9a500759565719f16ed188ba8a8bcd.zip
feat: parse the launch selectors as a value type
--account, --thread and --message, plus the payload that crosses the socket. A value type with no GUI dependency: it is parsed before QApplication exists and both halves need tests no window has to be built for. QDataStream rather than a line-based payload, because a Message-ID may contain a newline. Every read is status-checked, which is what catches a truncated payload: a short read otherwise leaves the fields default-constructed and a half-written id would be applied as an empty one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'src/htmlsanitiser.cpp')
0 files changed, 0 insertions, 0 deletions