bbangert / beaker

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

Fixed issue #122 - Session ignores deserializer json #186

Closed dialtone closed 4 years ago

dialtone commented 4 years ago

Unittest using the file namespace manager also provided. I haven't run tests for mongodb and all combinations of other drivers so I'm assuming they will run based on the fact that it's a base64 encoded string and everyone should be able to insert a string. This commit will likely invalidate all sessions once deployed due to the fact that all sessions now get base64 encoded when written in storage (and decoded back) vs the previous situation of only encrypted sessions getting base64 encoded.

amol- commented 4 years ago

thanks for catching this, looks good to me