diff --git a/system/blueprints/config/system.yaml b/system/blueprints/config/system.yaml index 33508d9ea..69f48e5b8 100644 --- a/system/blueprints/config/system.yaml +++ b/system/blueprints/config/system.yaml @@ -1154,17 +1154,6 @@ form: validate: type: bool - case_insensitive_urls: - type: toggle - label: PLUGIN_ADMIN.CASE_INSENSITIVE_URLS - highlight: 0 - help: PLUGIN_ADMIN.CASE_INSENSITIVE_URLS_HELP - options: - 1: PLUGIN_ADMIN.YES - 0: PLUGIN_ADMIN.NO - validate: - type: bool - param_sep: type: select size: medium diff --git a/system/src/Grav/Common/Uri.php b/system/src/Grav/Common/Uri.php index cb903fdc5..ad37d0f91 100644 --- a/system/src/Grav/Common/Uri.php +++ b/system/src/Grav/Common/Uri.php @@ -291,11 +291,6 @@ class Uri $this->url = $this->base . $this->uri; - // if case insensitive urls is enabled, lowercase the url - if( $grav['config']->get('system.case_insensitive_urls') ){ - $this->url = strtolower($this->url); - } - // get any params and remove them $uri = str_replace($this->root, '', $this->url);