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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
b75c35de
Commit
b75c35de
authored
1 year ago
by
Kostia Bohach
Browse files
Options
Downloads
Patches
Plain Diff
Renamed Redirect Slashes subscriber
parent
c3422955
No related branches found
No related tags found
1 merge request
!5343
Issue #3305066 by quietone, Rename RedirectLeadingSlashesSubscriber
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/core.services.yml
+2
-2
2 additions, 2 deletions
core/core.services.yml
core/lib/Drupal/Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php
+1
-1
1 addition, 1 deletion
...Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php
with
3 additions
and
3 deletions
core/core.services.yml
+
2
−
2
View file @
b75c35de
...
...
@@ -1357,8 +1357,8 @@ services:
redirect_response_subscriber
:
class
:
Drupal\Core\EventSubscriber\RedirectResponseSubscriber
arguments
:
[
'
@unrouted_url_assembler'
,
'
@router.request_context'
]
redirect_
leading
_slashes_subscriber
:
class
:
Drupal\Core\EventSubscriber\Redirect
Leading
SlashesSubscriber
redirect_
successive
_slashes_subscriber
:
class
:
Drupal\Core\EventSubscriber\Redirect
Successive
SlashesSubscriber
request_close_subscriber
:
class
:
Drupal\Core\EventSubscriber\RequestCloseSubscriber
arguments
:
[
'
@module_handler'
]
...
...
This diff is collapsed.
Click to expand it.
core/lib/Drupal/Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php
+
1
−
1
View file @
b75c35de
...
...
@@ -10,7 +10,7 @@
/**
* Redirects paths containing successive slashes to those with single slashes.
*/
class
Redirect
Leading
SlashesSubscriber
implements
EventSubscriberInterface
{
class
Redirect
Successive
SlashesSubscriber
implements
EventSubscriberInterface
{
/**
* Redirects paths containing successive slashes to those with single slashes.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment