From 00cc11ee84904d5cf81608440b8b6e0affaf547e Mon Sep 17 00:00:00 2001 From: Bill Bushee Date: Mon, 8 May 2017 13:16:04 -0400 Subject: [PATCH] removed code that always converts path to lower case initially to fix problem with alphanumeric params being incorrectly converted to lower case. --- Anchor.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Anchor.php b/Anchor.php index d1bf398..4285b6c 100644 --- a/Anchor.php +++ b/Anchor.php @@ -1255,14 +1255,6 @@ protected static function cleanUrlRedirect($request_path) $redirect = true; } - // $request_path should always be lower case. - $lower_case_path = strtolower($request_path); - - if ($request_path != $lower_case_path) { - $request_path = $lower_case_path; - $redirect = true; - } - if ($redirect) { $request_path .= strlen($_SERVER['QUERY_STRING']) ? '?' . $_SERVER['QUERY_STRING'] : ''; header('Location: ' . static::getDomain() . $request_path);