Merge branch 'stable'

This commit is contained in:
David Lord 2026-02-18 21:56:24 -08:00
commit daca74d93a
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926
6 changed files with 64 additions and 47 deletions

View file

@ -1411,8 +1411,8 @@ class Flask(App):
for func in reversed(self.after_request_funcs[name]):
response = self.ensure_sync(func)(response)
if not self.session_interface.is_null_session(ctx.session):
self.session_interface.save_session(self, ctx.session, response)
if not self.session_interface.is_null_session(ctx._session):
self.session_interface.save_session(self, ctx._session, response)
return response