Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Routing / CompiledRoute.php
index a1366a608492819121c57a64872778a196f139d9..652acc5bb470b75505532176c2f740f624f6040e 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Drupal\Core\Routing;
 
-use Drupal\Component\Utility\Unicode;
 use Symfony\Component\Routing\CompiledRoute as SymfonyCompiledRoute;
 
 /**
@@ -69,7 +68,7 @@ class CompiledRoute extends SymfonyCompiledRoute {
     // Support case-insensitive route matching by ensuring the pattern outline
     // is lowercase.
     // @see \Drupal\Core\Routing\RouteProvider::getRoutesByPath()
-    $this->patternOutline = Unicode::strtolower($pattern_outline);
+    $this->patternOutline = mb_strtolower($pattern_outline);
     $this->numParts = $num_parts;
   }