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);