From: stronk7 Date: Mon, 22 May 2006 17:55:38 +0000 (+0000) Subject: Allowing also numbers and underscores in sessioncookie X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b6725eba9ae398068406c54dcd764718f2a98be4;p=moodle.git Allowing also numbers and underscores in sessioncookie Merged from MOODLE_16_STABLE --- diff --git a/admin/config.php b/admin/config.php index 459675cf77..959bf2b762 100644 --- a/admin/config.php +++ b/admin/config.php @@ -34,7 +34,7 @@ if (count($err) == 0) { foreach ($config as $name => $value) { if ($name == "sessioncookie") { - $value = eregi_replace("[^a-zA-Z]", "", $value); + $value = eregi_replace("[^a-zA-Z0-9_]", "", $value); } if ($name == "defaultallowedmodules") { $value = implode(',',$value);