Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Routing/RouteCompiler.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Routing/RouteCompiler.php Thu Feb 28 13:21:36 2019 +0000 +++ b/core/lib/Drupal/Core/Routing/RouteCompiler.php Thu May 09 15:33:08 2019 +0100 @@ -31,7 +31,9 @@ * A CompiledRoute instance. */ public static function compile(Route $route) { - + // Symfony 4 requires that all UTF-8 route patterns have the "utf8" option + // set and Drupal does not support non UTF-8 routes. + $route->setOption('utf8', TRUE); $symfony_compiled = parent::compile($route); // The Drupal-specific compiled information.