parsimony/internal/web
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 96a1243c2f fix(web): refuse local addresses on the subscribe form
root@localhost, a@b and a@[127.0.0.1] passed mail.ParseAddress, so the
public form could make the daemon mail itself or its own network.

The domain of a typed address must now contain a dot, not be a domain
literal, be made of non-empty labels of letters, digits and hyphens, and
not be localhost or end in .localhost, .local, .internal or .invalid.
.test and .example stay accepted (the end-to-end tests use them).
2026-11-10 15:11:43 +01:00
..
limit.go fix(web): key the subscribe limit on the real client 2026-11-10 15:11:26 +01:00
web.go fix(web): refuse local addresses on the subscribe form 2026-11-10 15:11:43 +01:00
web_test.go fix(web): refuse local addresses on the subscribe form 2026-11-10 15:11:43 +01:00