zulip/templates
Tim Abbott a920544bc3
invite emails: Ensure user-controlled input is always in links.
Popular email clients like Gmail will automatically linkify link-like
content present in an HTML email they receive, even if it doesn't have
links in it.  This made it possible to include what in Gmail will be a
user-controlled link in invitation emails that Zulip sends, which a
spammer/phisher could try to take advantage of to send really bad spam
(the limitation of having the rest of the invitation email HTML there
makes it hard to do something compelling here).

We close this opportunity by structuring our emails to always show the
user's name inside an existing link, so that Gmail won't do new
linkification, and add a test to help ensure we don't remove this
structure in a future design change.

Co-authored-by: Anders Kaseorg <andersk@mit.edu>
2020-05-08 14:02:41 -07:00
..
analytics templates: Use `<hr>` and `<br>` consistently. 2020-04-28 17:05:48 -07:00
confirmation templates: Use just one webpack entry point per page. 2019-10-28 15:53:15 -07:00
corporate templates: Use `<hr>` and `<br>` consistently. 2020-04-28 17:05:48 -07:00
tests webhooks/freshdesk/doc.md: Remove unescape_rendered_html kludge. 2019-07-03 15:05:45 -07:00
two_factor two_factor: Add templates for 2-factor-auth setup. 2018-05-02 15:20:49 -07:00
zerver invite emails: Ensure user-controlled input is always in links. 2020-05-08 14:02:41 -07:00
zilencer billing: Move billing related templates from zilencer to corporate. 2018-10-01 15:43:39 -07:00
.gitignore
404.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00
500.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00