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

Add sinatra/padrino installation instructions. #37

Merged
merged 1 commit into from
Aug 30, 2012

Conversation

danpal
Copy link
Contributor

@danpal danpal commented Aug 30, 2012

Adding RackSslEnforcer to sinatra or padrino is non-trivial.
The default session handler of both frameworks will place
the Rack::Session::Cookie middleware at the top, thus
RackSslEnforcer won't be able to see the cookies and operate
properly.

In order to fix it, you have to manually add Rack::Session::Cookie
as opposed to using enable :sessions.

Adding RackSslEnforcer to sinatra or padrino is non-trivial.
The default session handler of both frameworks will place
the Rack::Session::Cookie middleware at the top, thus
RackSslEnforcer won't be able to see the cookies and operate
properly.

In order to fix it, you have to manually add Rack::Session::Cookie
as opposed to using enable :sessions.
@travisbot
Copy link

This pull request fails (merged 20ef678 into 5628267).

tobmatth added a commit that referenced this pull request Aug 30, 2012
Add sinatra/padrino installation instructions.
@tobmatth tobmatth merged commit afbb180 into tobmatth:master Aug 30, 2012
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.

3 participants