Loading editor/src/webedit_server.cpp +7 −1 Changes for editor/src/webedit_server.cpp: 7 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -546,7 +546,13 @@ void webedit::Server::handleLogin(libhttppp::HttpRequest &curreq, _session.addData(sessionid, "uid", uidStr); _session.addData(sessionid, "username", displayname); _session.addData(sessionid, "domain", domain); // Store the canonical AuthSource domain, not the raw user-typed // suffix — findAuthSource() matches case-insensitively (and via the // single-source/empty-domain shortcut), so the typed string can // differ from (or be empty vs.) the configured domain, which then // silently desyncs document ownership lookups (documents.domain) // from whatever this session's "domain" resolves to on future logins. _session.addData(sessionid, "domain", src->domain); // Set authid cookie and return success libhttppp::HttpResponse resp; Loading Loading
editor/src/webedit_server.cpp +7 −1 Changes for editor/src/webedit_server.cpp: 7 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -546,7 +546,13 @@ void webedit::Server::handleLogin(libhttppp::HttpRequest &curreq, _session.addData(sessionid, "uid", uidStr); _session.addData(sessionid, "username", displayname); _session.addData(sessionid, "domain", domain); // Store the canonical AuthSource domain, not the raw user-typed // suffix — findAuthSource() matches case-insensitively (and via the // single-source/empty-domain shortcut), so the typed string can // differ from (or be empty vs.) the configured domain, which then // silently desyncs document ownership lookups (documents.domain) // from whatever this session's "domain" resolves to on future logins. _session.addData(sessionid, "domain", src->domain); // Set authid cookie and return success libhttppp::HttpResponse resp; Loading