Closed hdrlab closed 6 years ago
Would you like to implement it and then send me a pull request?
I received the first spam email:
email_org: [jesse_millea36@rambler.ru] name: [CS Web Contact Form] submit: [Send message] url: [http://www.google.com] Best regards!
RemoteAddr: 91.79.9.XXX:58149 Browser: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36
If it increases then I'll add probably a captcha feature ...
Please also post here if you (dear reader of this issue) are also affected.
When I wrote this suggestion I was considering replacing my website with Caddy + Hugo, but ended up sticking with Silverstripe instead (even though I don't like PHP). So this issue doesn't affect me.
I still think that some sort of anti-spam feature like recaptcha is a good idea, though.
@hdrlab Slightly off topic, but is there a reason you went with Silverstripe instead? We'd like Caddy and its hugo add-on to be as competitive as possible.
@mholt A few reasons:
Thank you for the feedback @hdrlab! We'll look into it.
@mholt Hi, mailout+captcha https://github.com/lexesv/mailout
@lexesv Wow! Looks good. If you want you can send me a pull request and I merge it and propagate it to the caddy plugin registry. I can also give you contributor access to this repo so that you can directly commit stuff. One thing which can be improved in your commits is a bit more descriptive commit message ;-)
@SchumacherFM Hi, thanks. I plan to add the reCaptcha support and then send a pull request.
Fixed with PR #16
Having the ability to add a recaptcha to the form would help protect against spam bots.
I spotted a Go recaptcha lib, so perhaps that could be used as a starting point: https://github.com/dpapathanasiou/go-recaptcha