summaryrefslogtreecommitdiffstats
path: root/tests/test_interceptor.cpp
AgeCommit message (Collapse)AuthorFilesLines
10 hoursAdd GPLv2-only license and per-file headersDanilo M.1-0/+18
Confirmed with the maintainer as v2-only rather than v2-or-later. LICENSE is the official text from gnu.org. Every file under src/ and tests/ carries the matching notice. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
10 hoursfix: scope qtmaildir: allow to the exact document base URLDanilo M.1-0/+65
Whole-scheme allow meant a hostile message body could reference any qtmaildir: URL (e.g. <img src="qtmaildir://other">) and have it pass, with safety depending entirely on Task 11's still-unwritten scheme handler. Add setDocumentUrl() and require an exact QUrl match; deny all qtmaildir: URLs when it is unset (fail closed). Document URL survives resetForNewMessage() since it is a property of the view, not of a message.
10 hoursfeat: add deny-by-default web request interceptorDanilo M.1-0/+228