Skip to content
Snippets Groups Projects
Commit b75c35de authored by Kostia Bohach's avatar Kostia Bohach
Browse files

Renamed Redirect Slashes subscriber

parent c3422955
No related branches found
No related tags found
1 merge request!5343Issue #3305066 by quietone, Rename RedirectLeadingSlashesSubscriber
......@@ -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\RedirectLeadingSlashesSubscriber
redirect_successive_slashes_subscriber:
class: Drupal\Core\EventSubscriber\RedirectSuccessiveSlashesSubscriber
request_close_subscriber:
class: Drupal\Core\EventSubscriber\RequestCloseSubscriber
arguments: ['@module_handler']
......
......@@ -10,7 +10,7 @@
/**
* Redirects paths containing successive slashes to those with single slashes.
*/
class RedirectLeadingSlashesSubscriber implements EventSubscriberInterface {
class RedirectSuccessiveSlashesSubscriber implements EventSubscriberInterface {
/**
* Redirects paths containing successive slashes to those with single slashes.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment