Browse files

Clean sessioncookie variable

  • Loading branch information...
1 parent bd741d5 commit 34edc3ad1b2b3496cb72d0acbf50304534ec3660 moodler committed Dec 18, 2003
Showing with 3 additions and 0 deletions.
  1. +3 −0 admin/config.php
View
3 admin/config.php
@@ -27,6 +27,9 @@
if (count($err) == 0) {
print_header();
foreach ($config as $name => $value) {
+ if ($name == "sessioncookie") {
+ $value = clean_filename($value);
+ }
unset($conf);
$conf->name = $name;
$conf->value = $value;

0 comments on commit 34edc3a

Please sign in to comment.