Skip to content

HookForms 0.2.1

Latest

Choose a tag to compare

@h1n054ur h1n054ur released this 17 Nov 11:39
· 1 commit to main since this release
v0.2.1

Security

  • An inbox with a Turnstile secret now needs a valid cf-turnstile-response token on every request. Before, a body that parsed as JSON but was not an object with fields (an array, a string, a number, true, an empty object) or an empty body skipped the Turnstile check, and the submission was stored and its notifications sent. Such requests now get 400 "Missing Turnstile verification token" and nothing is stored. Thanks to Andrei Lavrenov for the report.

Added

  • Notification emails for a submission set Reply-To to the submitter when the submission has a valid email field (with the name field as the display name), so replying in a mail client answers the person who filled in the form. This covers the legacy notify_email field and email channels on every provider (Gmail, Resend, SendGrid and SMTP).

Image: ghcr.io/bts-io/hookforms:0.2.1 (also latest).