Skip to content
Snippets Groups Projects
Unverified Commit aec4b3a1 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3165784 by johnwebdev, boch, longwave, al.iv: LogicException: Cannot...

Issue #3165784 by johnwebdev, boch, longwave, al.iv: LogicException: Cannot use UTF-8 route patterns without setting the "utf8" option for route
parent 5bce5eeb
Branches
Tags
6 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!16Draft: Resolve #2081585 "History storage"
......@@ -204,6 +204,9 @@ protected function getRoute($view_id, $display_id) {
// Store whether the view will return a response.
$route->setOption('returns_response', !empty($this->getPluginDefinition()['returns_response']));
// Symfony 4 requires that UTF-8 route patterns have the "utf8" option set
$route->setOption('utf8', TRUE);
return $route;
}
......
......@@ -150,6 +150,7 @@ public function testPagePaths() {
$this->drupalLogin($this->rootUser);
$this->assertPagePath('0');
$this->assertPagePath('9999');
$this->assertPagePath('☺');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment