Skip to content
Unverified Commit fa168dda authored by Andrii Dmytrenko's avatar Andrii Dmytrenko
Browse files

Pass X-Forwarded-Proto if present or $scheme

Rack::Protection::HttpOrigin is checking if the origin url (including the scheme) matches base url

https://github.com/sinatra/sinatra/blob/b801c6b76b89eb071e2b01700273054bbe8aae05/rack-protection/lib/rack/protection/http_origin.rb#L33
parent 9fbbd672
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment