From d0eeb37eb4bae1b1c27a1351a4f8e467dffd5170 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 28 Jun 2020 23:49:00 +0200 Subject: [PATCH] Remove URL reverse escaping --- index.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/index.php b/index.php index e3e7e23..ba36b60 100644 --- a/index.php +++ b/index.php @@ -29,11 +29,6 @@ $router->map('GET', '/[:uid]', function() {}, 'profile'); // Router matching $match = $router->match(); -// Fix "escaped" email address -if (array_key_exists('uid', $match['params'])) { - $match['params']['uid'] = str_lreplace('_', '.', $match['params']['uid']); -} - // Render the appropriate route if(is_array($match) && is_callable($match['target'])) { switch ($match['name']) {