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

http_cookie_ident doesn't work #8

Open
daurnimator opened this Issue Dec 13, 2011 · 0 comments

Comments

Projects
None yet
1 participant
@daurnimator

daurnimator commented Dec 13, 2011

Since parse_http_cookie started returning a table (commit 4bb76a3 )
session.lua/parse_session_id no longer works
and hence http_cookie_ident is broken.

A fix is to replace line 55+56 of session.lua with:

local session_cookie = parse_http_cookie(cookie).session
return session_cookie and session_cookie[1] or nil

zedshaw added a commit that referenced this issue Sep 20, 2013

Merge pull request #21 from jessehorne/master
suggested fix by 'daurnimator' for issue #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment