mirror of
https://github.com/outline/outline.git
synced 2026-11-21 13:34:02 +03:00
* fix: Align CSRF cookie resolution between attach and verify paths The middleware that attaches the token picked one cookie name based on whether the request was secure, while the verifier accepted either name. Resolve the name through a single helper so both paths always agree, and warn at startup when proxy headers are untrusted on an https install. * Remove excessive tests * fix: Describe the request scheme on the MCP-derived API context Helpers shared between the MCP tools and the HTTP routes read the scheme from the context, which the MCP stub did not provide. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix: Do not warn about proxy headers when the app terminates TLS itself The socket is already encrypted in that case, so the request scheme is known without X-Forwarded-Proto. Extract the certificate check that main was doing inline so both call sites stay in step. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * simplify --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>