From 91f63f025bc7170f313611095f823ec21e57586b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 22 Dec 2018 17:34:57 +0100 Subject: [PATCH] Add rolling token into confirm url --- htdocs/core/class/html.form.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index f72eaca0c25..25874e9336e 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4002,6 +4002,7 @@ class Form var inputvalue = $("#" + inputname + more).val(); if (typeof inputvalue == "undefined") { inputvalue=""; } options += "&" + inputname + "=" + encodeURIComponent(inputvalue); + options += "&token=" + encodeURIComponent('.$_SESSION['newtoken'].') }); } var urljump = pageyes + (pageyes.indexOf("?") < 0 ? "?" : "") + options;