nuxt-mail icon indicating copy to clipboard operation
nuxt-mail copied to clipboard

How to sanitize messages?

Open szczynk opened this issue 3 years ago • 2 comments

How exactly sanitize messages in this module?

szczynk avatar Aug 28 '21 05:08 szczynk

@szczynk Good point. We did some work on security already in this module regarding the email addresses, but sanitization is probably a thing we should enable too. I think it could be done with a change I proposed in another issue. It would make the message generation dynamic on server side and there you could add some more logic.

Have a look at this comment where I describe it: https://github.com/dword-design/nuxt-mail/issues/68#issuecomment-883610093

Would be great to get your feedback on this!

dword-design avatar Aug 28 '21 16:08 dword-design

@szczynk I have an open PR that would solve the issue feel free to have a look!

dword-design avatar Feb 15 '22 00:02 dword-design