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

Fix Rails 7.1 env[PATH_INFO] for root path #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prex-international
Copy link

before rails 7.0 env[PATH_INFO] was '/' for root_path, now it is a blank string

before rails 7.0 env[PATH_INFO] was '/' for root_path, now it is a blank string
@prex-international
Copy link
Author

Prior versions of Rails 7.0 were returning '/' as base path for root path. Now, for some reason, the root_path returns a blank string that break the check on env[PATH_INFO] for matching routes.

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.

1 participant