Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!4280
You need to sign in or sign up before continuing.
Deprecated issue fixed
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Deprecated issue fixed
issue/drupal-3370580:3370580-deprecated-function-pregsplit-fix
into
11.x
Overview
0
Commits
2
Pipelines
0
Changes
1
Open
Deprecated issue fixed
Abhishek Singh
requested to merge
issue/drupal-3370580:3370580-deprecated-function-pregsplit-fix
into
11.x
Jun 28, 2023
Overview
0
Commits
2
Pipelines
0
Changes
1
Closes
#3370580
0
0
Merge request reports
Compare
11.x
version 4
605805b0
Jun 28, 2023
version 3
299d04e7
Jun 28, 2023
version 2
027e6d94
Jun 28, 2023
version 1
c577d1a6
Jun 28, 2023
11.x (HEAD)
and
latest version
latest version
cb8f03b3
2 commits,
Jul 7, 2023
version 4
605805b0
2 commits,
Jun 28, 2023
version 3
299d04e7
2 commits,
Jun 28, 2023
version 2
027e6d94
2 commits,
Jun 28, 2023
version 1
c577d1a6
1 commit,
Jun 28, 2023
1 file
+
4
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
core/lib/Drupal/Core/Routing/RouteProvider.php
+
4
−
1
View file @ fa25e522
Edit in single-file editor
Open in Web IDE
Show full file
@@ -367,7 +367,10 @@ 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
),
-
1
,
PREG_SPLIT_NO_EMPTY
);
$parts
=
[];
if
(
!
empty
(
$path
))
{
$parts
=
preg_split
(
'@/+@'
,
mb_strtolower
(
$path
),
-
1
,
PREG_SPLIT_NO_EMPTY
);
}
$collection
=
new
RouteCollection
();
Loading