From a4b35ba2823b57e66bab7182c157afd9b69b65bd Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 31 Mar 2004 04:14:13 +0000 Subject: [PATCH] Get tough on possible sessioncookies to avoid possible lockout problems caused by some characters in the cookie name --- admin/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/config.php b/admin/config.php index 0d710f793d..1b03783883 100644 --- a/admin/config.php +++ b/admin/config.php @@ -28,7 +28,7 @@ print_header(); foreach ($config as $name => $value) { if ($name == "sessioncookie") { - $value = clean_filename($value); + $value = eregi_replace("[^a-zA-Z]", "", $value); } unset($conf); $conf->name = $name; -- 2.39.5