From 37f98cc4f3f67b1c7203cc0736f570c4c95e0919 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Tue, 17 Nov 2015 11:57:46 +0100 Subject: [PATCH] Let handling slash replacement automatically --- classes/controller.php | 1 - 1 file changed, 1 deletion(-) diff --git a/classes/controller.php b/classes/controller.php index 8fe6177c..021346c3 100644 --- a/classes/controller.php +++ b/classes/controller.php @@ -95,7 +95,6 @@ class AdminController } else { if ($this->task == 'logout') { $nonce = $this->grav['uri']->param('logout-nonce'); - $nonce = str_replace('SLASH', '/', $nonce); if (!isset($nonce) || !Utils::verifyNonce($nonce, 'logout-form')) { return; }