5 Commits

Author SHA1 Message Date
daniel156161 b3105423f8 fix that it can set the responce cookie correctly for newer werkzeug version 2025-09-18 18:16:18 +02:00
Kroket Ltd 249a7abd89 Bump to 3.0.0 2023-11-24 04:12:03 +02:00
Kroket Ltd 093d28fe62 Merge pull request #19 from jonathonfletcher/master
do not unpack initial in call to ServerSideSession's super.
2023-11-24 04:07:24 +02:00
Jonathon Fletcher 7e43c76ad0 do not unpack initial in call to ServerSideSession's super. 2023-11-04 11:50:46 -07:00
Kroket Ltd c25a62412d Merge pull request #16 from kroketio/session_cookie_name_fix
Session cookie name fix
2023-10-17 01:42:31 +03:00
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
:license: BSD, see LICENSE for more details.
"""
__version__ = '2.1.0'
__version__ = '3.0.0'
import os
+2 -2
View File
@@ -31,7 +31,7 @@ class ServerSideSession(SecureCookieSession):
"""Baseclass for server-side based sessions."""
def __init__(self, initial=None, sid=None, permanent=None, addr=None):
super(ServerSideSession, self).__init__(**initial or {})
super(ServerSideSession, self).__init__(initial or {})
self.sid = sid
if permanent:
self.permanent = permanent
@@ -189,7 +189,7 @@ class SessionInterface(QuartSessionInterface):
session_id = self._get_signer(app).sign(want_bytes(session.sid))
else:
session_id = session.sid
response.set_cookie(cname, session_id,
response.set_cookie(cname, session_id.decode('utf-8'),
expires=expires, httponly=httponly,
domain=domain, path=path, secure=secure, samesite=samesite)
+2 -2
View File
@@ -19,12 +19,12 @@ with open('README.md') as f:
INSTALL_REQUIRES = [
"Quart>=0.10.0"
"Quart>=0.19.0"
]
setup(
name='Quart-Session',
version='2.1.0',
version='3.0.1',
url='https://github.com/kroketio/quart-session',
license='BSD',
author='Kroket Ltd.',