Upstream maildev/maildev state of the touched files before f6ee0b5f24

This commit is contained in:
upstream committed 2026-09-22 20:00:23 +02:00
1 parent 15ecda681f
commit 77bb28b844
6 files changed
+13 -69

No files matched your search

-11
View File
@@ -1,11 +0,0 @@
---
'@maildev/smtp': patch
'@maildev/api': patch
---
Fix the URL that `replaceCidReferences` rewrites inline (CID) attachments to. It
built `/email/:id/attachment/:file`, which matches no route: the attachment is
served from `/api/email/:id/attachment/:file`, under the configured base path.
The URL is now root-relative and includes both parts, so it resolves at the root
and under a subpath such as `/mail`. A base path that resolves to the root (`/`)
adds no prefix, so it can no longer produce a protocol-relative `//api/email/...`.