From 1924e1901d6312759941e70649ab7e12d6678a27 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 22 Oct 2020 12:42:54 +0200 Subject: [PATCH] unset formtoken before creating link to footer js file --- views/bootstrap/class.Bootstrap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 84c58d331..527a6ca4b 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -179,6 +179,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo ''."\n"; parse_str($_SERVER['QUERY_STRING'], $tmp); $tmp['action'] = 'webrootjs'; + if(isset($tmp['formtoken'])) + unset($tmp['formtoken']); echo ''."\n"; echo ''."\n"; if($this->params['enablemenutasks'] && isset($this->params['user']) && $this->params['user']) {