You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our apps, especially our external ones subject to bots and bad actors, are plagued by non-numeric values being used as a "page" value in the URL so we have to validate params[:page] ourselves: convert it to an integer greater than zero or else set it to nil. Otherwise, it's a 500 error.
Is a :page parameter validated?
If I change :page to non-numeric value I got the exception. I think that should be treated as
1
The text was updated successfully, but these errors were encountered: