From: skodak Date: Tue, 8 Jan 2008 07:16:18 +0000 (+0000) Subject: MDL-12869 fixed minor security problem in installer - reported by hanno; merged from... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f49312b6a61d6fb38495a7eb53c736a99ff75685;p=moodle.git MDL-12869 fixed minor security problem in installer - reported by hanno; merged from MOODLE_19_STABLE --- diff --git a/install.php b/install.php index 8983a827e1..065547afb8 100644 --- a/install.php +++ b/install.php @@ -107,6 +107,7 @@ if (isset($_POST['stage'])) { $nextstage = $_POST['stage']; } + $nextstage = (int)$nextstage; if ($nextstage < 0) { $nextstage = WELCOME; @@ -823,31 +824,31 @@ function form_table($nextstage = WELCOME, $formaction = "install.php") {

- +

- +

- +

- +

- + @@ -859,7 +860,7 @@ function form_table($nextstage = WELCOME, $formaction = "install.php") {

- +