Skip to content
Snippets Groups Projects
Unverified Commit f0c87603 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

(cherry picked from commit aec4b3a1)
parent 94d0c1f1
Branches
Tags
4 merge requests!1285Issue #3240655 by elfakhar Aligne the active border,!541Issue #3123070: Fix 'PSR2.Classes.PropertyDeclaration.Underscore' coding standard,!463Resolve #3205025 "Class align center for media",!386Allow multiple vocabularies in the taxonomy filter
......@@ -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