Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean sessioncookie variable

  • Loading branch information...
commit 34edc3ad1b2b3496cb72d0acbf50304534ec3660 1 parent bd741d5
moodler authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  admin/config.php
3  admin/config.php
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.