Skip to content

Commit

Permalink
Turn on utf8 matching
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 16, 2017
1 parent 65ec36c commit 724aeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/RouteCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function compile()
$uri = preg_replace('/\{(\w+?)\?\}/', '{$1}', $this->route->uri());

return (
new SymfonyRoute($uri, $optionals, $this->route->wheres, [], $this->route->getDomain() ?: '')
new SymfonyRoute($uri, $optionals, $this->route->wheres, ['utf8' => true], $this->route->getDomain() ?: '')
)->compile();
}

Expand Down

0 comments on commit 724aeea

Please sign in to comment.