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

Recreate REQUEST_URI using Rack SPEC-compliant variables #978

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

joelvh
Copy link
Contributor

@joelvh joelvh commented Jul 11, 2020

Turns out REQUEST_URI is not in the Rack SPEC, and the recommendation is to reproduce the same value using SPEC-compliant variables. Rack::Request#fullpath builds the equivalent of REQUEST_URI, but we don't want to add a dependency on Rack directly.

The update uses Rack-compliant variables.

@waltjones
Copy link
Contributor

@joelvh Thank you for the PR.

@waltjones waltjones merged commit 234157b into rollbar:master Jul 14, 2020
@joelvh
Copy link
Contributor Author

joelvh commented Jul 14, 2020

No problem @waltjones!

@joelvh joelvh deleted the feature/rack_spec branch July 14, 2020 18:59
@joelvh joelvh restored the feature/rack_spec branch July 14, 2020 19:00
@waltjones
Copy link
Contributor

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