Loading core/lib/Drupal/Core/Routing/RouteProvider.php +1 −1 Changes for core/lib/Drupal/Core/Routing/RouteProvider.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -349,7 +349,7 @@ protected function getRoutesByPath($path) { // have a case-insensitive match from the incoming path to the lower case // pattern outlines from \Drupal\Core\Routing\RouteCompiler::compile(). // @see \Drupal\Core\Routing\CompiledRoute::__construct() $parts = preg_split('@/+@', mb_strtolower($path), NULL, PREG_SPLIT_NO_EMPTY); $parts = preg_split('@/+@', mb_strtolower($path), -1, PREG_SPLIT_NO_EMPTY); $collection = new RouteCollection(); Loading core/modules/search/search.module +1 −1 Changes for core/modules/search/search.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -506,7 +506,7 @@ function _search_find_match_with_simplify($key, $text, $boundary, $langcode = NU } // Split $text into words, keeping track of where the word boundaries are. $words = preg_split('/' . $boundary . '+/u', $text, NULL, PREG_SPLIT_OFFSET_CAPTURE); $words = preg_split('/' . $boundary . '+/u', $text, -1, PREG_SPLIT_OFFSET_CAPTURE); // Add an entry pointing to the end of the string, for the loop below. $words[] = ['', strlen($text)]; Loading Loading
core/lib/Drupal/Core/Routing/RouteProvider.php +1 −1 Changes for core/lib/Drupal/Core/Routing/RouteProvider.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -349,7 +349,7 @@ protected function getRoutesByPath($path) { // have a case-insensitive match from the incoming path to the lower case // pattern outlines from \Drupal\Core\Routing\RouteCompiler::compile(). // @see \Drupal\Core\Routing\CompiledRoute::__construct() $parts = preg_split('@/+@', mb_strtolower($path), NULL, PREG_SPLIT_NO_EMPTY); $parts = preg_split('@/+@', mb_strtolower($path), -1, PREG_SPLIT_NO_EMPTY); $collection = new RouteCollection(); Loading
core/modules/search/search.module +1 −1 Changes for core/modules/search/search.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -506,7 +506,7 @@ function _search_find_match_with_simplify($key, $text, $boundary, $langcode = NU } // Split $text into words, keeping track of where the word boundaries are. $words = preg_split('/' . $boundary . '+/u', $text, NULL, PREG_SPLIT_OFFSET_CAPTURE); $words = preg_split('/' . $boundary . '+/u', $text, -1, PREG_SPLIT_OFFSET_CAPTURE); // Add an entry pointing to the end of the string, for the loop below. $words[] = ['', strlen($text)]; Loading