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

Compatablity issue with Rack 2.2.4 #40

Merged
merged 1 commit into from
Feb 19, 2023
Merged

Conversation

GearoidDC
Copy link
Contributor

Hey,

I found an issue when upgrading to rack 2.2.4

For me it was only an issue on localhost ( Fine on production ) the logs would show a 200 status but the browser would view it as a 302 status.

image

image

I believe it is to do with this change in the rack gem. The Etag "" now gets read as an existing Etag rather removing it.
https://github.com/rack/rack/pull/1919/files

In the PR I just set the Etag to nil instead of "" and it seems to work.

image

@pelargir
Copy link
Owner

Thank you!

@pelargir pelargir merged commit 33d97ca into pelargir:master Feb 19, 2023
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