Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#8212] Rescue from missing contact form params #8214

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Conversation

gbp
Copy link
Member

@gbp gbp commented Apr 22, 2024

Relevant issue(s)

Fixes #8212

What does this do?

Rescue from missing contact form params

Why was this needed?

Prevent exceptions.

[skip changelog]

gbp added 2 commits April 23, 2024 08:25
Extract out redirect to rescue block. We will also be rescuing other
exceptions and need to redirect to the frontpage.
Rescue from missing contact params which can happen when spammers
attempt to use our forms - probably via scripts or automated actions.

Fixes #8212
@gbp gbp force-pushed the 8212-contact-form-params branch from 7958fd8 to db0dd4b Compare April 23, 2024 07:25
@gbp gbp merged commit 5a6fb12 into develop Apr 23, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ERROR] help#contact (ActionController::ParameterMissing) "param is missing or the value is empty: contact"
1 participant