MDL-76680 core: disable $USER->ignoresesskey on next page

This commit is contained in:
Petr Skoda
2023-03-11 10:37:24 +01:00
parent 033858e249
commit 7e96a1c887
+2
View File
@@ -840,6 +840,8 @@ foreach ($pluginswithfunction as $plugins) {
}
\core\session\manager::start();
// Prevent ignoresesskey hack from getting carried over to a next page.
unset($USER->ignoresesskey);
if (!empty($CFG->proxylogunsafe) || !empty($CFG->proxyfixunsafe)) {
if (!empty($CFG->proxyfixunsafe)) {