Following #2541 with its quick fix for 16.x, we need a more "in depth" fix for master.
The $_COOKIE['lang'] might have a value coming from any other web application (including other instances of Piwigo) on the same host. We should use Piwigo functions pwg_get_cookie_var and pwg_set_cookie_var to be more restrictive on the accepted path of the cookie.
Following #2541 with its quick fix for 16.x, we need a more "in depth" fix for master.
The `$_COOKIE['lang']` might have a value coming from any other web application (including other instances of Piwigo) on the same host. We should use Piwigo functions `pwg_get_cookie_var` and `pwg_set_cookie_var` to be more restrictive on the accepted path of the cookie.
<!-- github-sync-id:4371924100 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Following #2541 with its quick fix for 16.x, we need a more "in depth" fix for master.
The
$_COOKIE['lang']might have a value coming from any other web application (including other instances of Piwigo) on the same host. We should use Piwigo functionspwg_get_cookie_varandpwg_set_cookie_varto be more restrictive on the accepted path of the cookie.