We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I pass a value for the query param 'feedback_form' that does not match one of the forms the application will handle it without an error.
We see an error page
Visit https://catalog.princeton.edu/ask_a_question?ask_a_question_form=Array%27
We get an error if something unexpected is passed to Orangelight
Link: https://app.honeybadger.io/projects/54399/faults/103854661
NoMethodError: undefined method `permit' for "Array'":String params.require(:ask_a_question_form).permit(:id, :title) ^^^^^^^</div> 55 | 56 | def question_form_params 57 | params.require(:ask_a_question_form).permit(:id, :title) 58 | end
The text was updated successfully, but these errors were encountered:
winsice-ng
No branches or pull requests
Expected behavior
If I pass a value for the query param 'feedback_form' that does not match one of the forms the application will handle it without an error.
Actual behavior
We see an error page
Steps to replicate
Visit https://catalog.princeton.edu/ask_a_question?ask_a_question_form=Array%27
Impact of this bug
We get an error if something unexpected is passed to Orangelight
Honeybadger link and code snippet, if applicable
Link: https://app.honeybadger.io/projects/54399/faults/103854661
Implementation notes, if any
The text was updated successfully, but these errors were encountered: