This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new c5048bf Use Morsel output, as it doesn't have spurious whitespace
c5048bf is described below
commit c5048bfe1132730c3deba3ed372a95920a0a4b5b
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Sep 7 13:55:37 2020 +0200
Use Morsel output, as it doesn't have spurious whitespace
---
server/plugins/session.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/server/plugins/session.py b/server/plugins/session.py
index 1b7ca88..6c6f870 100644
--- a/server/plugins/session.py
+++ b/server/plugins/session.py
@@ -118,5 +118,6 @@ async def set_session(server: plugins.server.BaseServer,
**credentials):
session = SessionObject(server)
session.credentials = SessionCredentials(credentials)
server.data.sessions[session_id] = session
- return cookie.output(header='').lstrip()
+ return cookie['ponymail'].OutputString()
+