pallets-eco / flask-session

Server side session extension for Flask
https://flask-session.readthedocs.io
BSD 3-Clause "New" or "Revised" License
490 stars 236 forks source link

Fix Issue #191: Ensure session_id is Passed as String to response.set_cookie with Werkzeug 3.0.0 #194

Closed ThomasHankins closed 8 months ago

ThomasHankins commented 9 months ago

Fixes #191. With the update to Werkzeug 3.0.0, response.set_cookie now requires a string for value rather than a bytes object or string. Added decoding of the signed session id to restore compatibility.

enkelli commented 8 months ago

Seems like a duplicate of #189