class RedirectLeadingSlashesSubscriber implements EventSubscriberInterface (View source)

Redirects paths starting with multiple slashes to a single slash.

Methods

redirect(GetResponseEvent $event)

Redirects paths starting with multiple slashes to a single slash.

static 
getSubscribedEvents()

{@inheritdoc}

Details

redirect(GetResponseEvent $event)

Redirects paths starting with multiple slashes to a single slash.

Parameters

GetResponseEvent $event

The GetResponseEvent to process.

static getSubscribedEvents()

{@inheritdoc}