Skip to content

Do not escape values in text emails - #478

Merged
notquitenothing merged 1 commit into
voidauth:mainfrom
AlexanderS:fix-text-emails
Jul 1, 2026
Merged

Do not escape values in text emails#478
notquitenothing merged 1 commit into
voidauth:mainfrom
AlexanderS:fix-text-emails

Conversation

@AlexanderS

Copy link
Copy Markdown
Contributor

Description

In text emails the values should not be xml escaped. At least in the invitation emails this causes broken links, because the & in the url is escaped as &.

AI Usage

There was no AI used for this commit.

Screenshots

No visual changes.

@notquitenothing

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! I think it is worth separating out cases where un-escaped values may be required (links) and where they are not (potentially un-trusted input like user names).

@AlexanderS

Copy link
Copy Markdown
Contributor Author

I don't think you want to have the app title or username escaped in text emails. If the app title is something like '' you don't want it to have '<voidauth>' in text emails. Even usernames should not be escaped. In text emails there is no possibility that untrusted input is displayed wrong even when unescaped.

@notquitenothing

Copy link
Copy Markdown
Collaborator

Looks like you are right, I will review and merge this in if I don't have any feedback

@notquitenothing
notquitenothing merged commit 159fb44 into voidauth:main Jul 1, 2026
1 check passed
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