Skip to content

Limit session cookies to specific URL prefix

Andre Moreira Magalhaes requested to merge wip/andrunko/T10245 into master

This fixes an issue where the session cookies are shared between instances when running multiple instances of the app under different URL prefixes.

Setting APPLICATION_ROOT (or SESSION_COOKIE_PATH) should limit the session cookies to the configured URL prefix.

See https://flask.palletsprojects.com/en/3.0.x/config/#APPLICATION_ROOT.

Signed-off-by: Andre Moreira Magalhaes andre.magalhaes@collabora.com

https://phabricator.apertis.org/T10245

Edited by Andre Moreira Magalhaes

Merge request reports

Loading