We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e9c5ef commit fd291f5Copy full SHA for fd291f5
install/index.php
@@ -40,7 +40,21 @@
40
41
$debugInstaller = false; // Set to true to get more details on the installer pages (but breaks redirects)
42
$includeLogoutButton = false; // Can be helpful testing installer
43
-$sessionName = 'WebCalendar-Install-' . __DIR__;
+$sessionName = 'WebCalendar-Install-' . str_replace(
44
+ [
45
+ '=',
46
+ ',',
47
+ ';',
48
+ '.',
49
+ '[',
50
+ "\t",
51
+ "\r",
52
+ "\n",
53
+ "\013",
54
+ "\014",
55
+ ],
56
+ '_',
57
+ __DIR__);
58
59
if ($debugInstaller && isset($_GET['action']) && $_GET['action'] == 'logout') {
60
session_name($sessionName);
0 commit comments