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

Non-informative exception for params with invalid encodings #21923

Closed
agis opened this issue Oct 9, 2015 · 0 comments
Closed

Non-informative exception for params with invalid encodings #21923

agis opened this issue Oct 9, 2015 · 0 comments

Comments

@agis
Copy link
Contributor

agis commented Oct 9, 2015

On Rails 4.2 (haven't tested with other versions), given a route:

  get ':a' => 'foo#bar'

Hitting this route with an param that has invalid encoding will raise the following exception:
screen shot 2015-10-09 at 3 08 24 pm

I believe we can and should display a more informative error here.

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

No branches or pull requests

1 participant