Skip to content
Back

Inviting members while SMTP is disabled displays an `<a>` tag.

  • 0
  • 3
  • Self Hosted
  • Web
20 Jul, 2026, 05:36
TL;DR
Inviting members while SMTP is disabled displays an `<a>` tag in the messages. This issue can be resolved by enabling SMTP in the settings.
20 Jul, 2026, 05:37

<@1205302897361817621> lets try address greptile comments first

20 Jul, 2026, 05:42

I think that since the backend returns this kind of content directly, this issue shouldn't arise. One solution I’ve thought of is to introduce https://github.com/cure53/dompurify.

20 Jul, 2026, 05:51

hmm right, dont think its much of an issue here, looks good to me

cc <@818812780630507521> can you give pr a final review?

20 Jul, 2026, 06:12

I gave it some thought: since this change directly modifies modal.svelte—and certain modals might involve dynamic elements like filenames—I decided to use the lightweight library DOMPurify to ensure security. Additionally, I fixed some formatting issues (which were causing the build action to fail).

20 Jul, 2026, 07:00

Left a few comments.

20 Jul, 2026, 07:19

Fixed & Replied

20 Jul, 2026, 08:14

<:appwritemerged:834756403079544913>

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more