bbangert / beaker

WSGI middleware for sessions and caching
https://beaker.readthedocs.org/
Other
524 stars 143 forks source link

Fall back to configured path when using CookieSession. #155

Closed asaddi closed 6 years ago

asaddi commented 6 years ago

I noticed when using CookieSession, I wasn't able to set the cookie path no matter how I configured SessionMiddleware.

It turns out that it is only using _path in the session dict and this is never initialized. So it will always fall back to '/' instead.