DjangoGirls / djangogirls

Website for DjangoGirls.org
http://djangogirls.org/
BSD 3-Clause "New" or "Revised" License
462 stars 285 forks source link

Prohibit links in contact form to limit spam #767

Open amakarudze opened 2 years ago

amakarudze commented 2 years ago

We have started receiving spam messages from the hello@djangogirls.org email address from our website. There is a need to prevent messages with links from submitting as well as enforce DMARC rejection and quarantine policies to prevent our domain from being misused.

amakarudze commented 2 years ago

Seems the message did not come through our contact form or website. So this is a DMARC issue.

marksweb commented 2 years ago

If we've got access to a django form for this, then we can implement django-bleach to control what tags can be added (potentially).

amakarudze commented 2 years ago

Hey @marksweb, we do have access to the django form. Let me look at django-bleach. Thanks!