We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Forwarded
Rack::Protection::IPSpoofing
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded
Since Rack 3 (rack/rack#1834) the Forwarded is supported (and preferred).
Sinatra does not make use of this:
sinatra/lib/sinatra/base.rb
Lines 63 to 65 in 5640495
Which one to prefer should probably be exposed to the end-user.
The text was updated successfully, but these errors were encountered:
Here too
sinatra/rack-protection/lib/rack/protection/ip_spoofing.rb
Lines 16 to 24 in 5640495
Sorry, something went wrong.
Support Forwarded header in #forwarded?
#forwarded?
4652ad2
Related to sinatra#2011
dentarg
No branches or pull requests
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded
Since Rack 3 (rack/rack#1834) the
Forwarded
is supported (and preferred).Sinatra does not make use of this:
sinatra/lib/sinatra/base.rb
Lines 63 to 65 in 5640495
Which one to prefer should probably be exposed to the end-user.
The text was updated successfully, but these errors were encountered: