class RedirectLeadingSlashesSubscriber implements EventSubscriberInterface (View source)

Redirects paths starting with multiple slashes to a single slash.

Methods

redirect(RequestEvent $event)

Redirects paths starting with multiple slashes to a single slash.

static 
getSubscribedEvents()

{@inheritdoc}

Details

redirect(RequestEvent $event)

Redirects paths starting with multiple slashes to a single slash.

Parameters

RequestEvent $event

The RequestEvent to process.

static getSubscribedEvents()

{@inheritdoc}