Redirect to the frontpage rather than error on invalid params

Fixes #1448.
Merge branch 'issues/1448-no-error-on-spam' into rails-3-develop