From f8bd8143f74bb09b828d1029fc7cd8a18cd0fa5f Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Thu, 26 Nov 2015 14:23:31 +0000 Subject: [PATCH] Issue #2075889 by kgoel, pwolanin, catch, YesCT, dawehner, mpdonadio, johnshortess, Crell, mradcliffe, alexpott, webchick, ohthehugemanatee: Document that Drupal will handle incoming paths in a consistent and case-insensitive fashion for routing --- core/lib/Drupal/Core/Routing/routing.api.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Routing/routing.api.php b/core/lib/Drupal/Core/Routing/routing.api.php index 7c5e80a5c22c..6f47520609ba 100644 --- a/core/lib/Drupal/Core/Routing/routing.api.php +++ b/core/lib/Drupal/Core/Routing/routing.api.php @@ -43,7 +43,10 @@ * by the machine name of the module that defines the route, or the name of * a subsystem. * - The 'path' line gives the URL path of the route (relative to the site's - * base URL). + * base URL). Note: The path in Drupal is treated case insensitive so + * /example and /EXAmplE should return the same page. + * @todo Fix https://www.drupal.org/node/2075889 to actually get this + * behaviour. * - The 'defaults' section tells how to build the main content of the route, * and can also give other information, such as the page title and additional * arguments for the route controller method. There are several possibilities