Skip to content

Don’t allow file placeholders in email subjects#5844

Open
quis wants to merge 3 commits intomainfrom
validate-email-file-not-in-subject
Open

Don’t allow file placeholders in email subjects#5844
quis wants to merge 3 commits intomainfrom
validate-email-file-not-in-subject

Conversation

@quis
Copy link
Member

@quis quis commented Mar 16, 2026

At the moment someone could take a file placeholder and copy it into the subject of the email. This will sort of work if they have no link text, but will look broken if they specify link text.

Because we don’t think there’s a valid use case for this behaviour let’s add some validation to stop it happening. This means it’s not behaviour that we have to support in perpetuity.

When editing a template

image

When uploading a file

image

@quis quis changed the title Don’t allow file placeholders in email subjectsr Don’t allow file placeholders in email subjects Mar 16, 2026
@quis quis force-pushed the validate-email-file-not-in-subject branch from ab8df9d to 0843e68 Compare March 16, 2026 11:10
@quis quis force-pushed the validate-email-file-not-in-subject branch from 0843e68 to c8617d1 Compare March 17, 2026 12:32
@quis quis marked this pull request as ready for review March 17, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants