Skip to content

Handle malformed payloads in sessions controller#7611

Merged
zachmargolis merged 5 commits intomainfrom
margolis-sessions-permit-on-string
Jan 11, 2023
Merged

Handle malformed payloads in sessions controller#7611
zachmargolis merged 5 commits intomainfrom
margolis-sessions-permit-on-string

Conversation

@zachmargolis
Copy link
Contributor

Error messages like

param is missing or the value is empty: #permit called on String

Example NR error, we had a few hundred of these in the last day

Error messages like
> param is missing or the value is empty: #permit called on String

[skip changelog]
@zachmargolis zachmargolis requested a review from a team January 10, 2023 20:19
@zachmargolis
Copy link
Contributor Author

Update: after some digging, the error thrown was entirely of our own creation in #2648, to work around a Devise bug. I think that Devise bug no longer exists because reverting the patch, but keeping a regression spec, the controllers do not throw errors

@zachmargolis zachmargolis merged commit ade7d5b into main Jan 11, 2023
@zachmargolis zachmargolis deleted the margolis-sessions-permit-on-string branch January 11, 2023 19:10
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.

2 participants