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

Hotfix: Downgrade Rack to 2.2.9 #632

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Conversation

fosterfarrell9
Copy link
Collaborator

Due to some change in policy regarding how rack parses requests from version 3 on, some of our nested forms are parsed in way that produces an incorrect parameters hash in the controller. In this hotfix we downgrade to Rack 2.2.9. We have to go through each form, update them and migrate to Rack 3 at a later time.

@fosterfarrell9 fosterfarrell9 merged commit dce05c3 into main Apr 29, 2024
3 checks passed
@fosterfarrell9 fosterfarrell9 deleted the fix/hotfix_downgrade_rack branch April 29, 2024 12:50
@fosterfarrell9 fosterfarrell9 changed the title Downgrade Rack to 2.2.9 Hotfix: Downgrade Rack to 2.2.9 Apr 29, 2024
@Splines
Copy link
Member

Splines commented Apr 29, 2024

related: rack/rack#2128

and: rails/rails#49601
and: rails/rails#49783

@Splines Splines mentioned this pull request Oct 11, 2024
@Splines
Copy link
Member

Splines commented Oct 15, 2024

To reproduce: upgrade to Rack 3, then go to the profile page. There should be an error thrown due to nested forms and how parameters are passed as arrays.

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