The request attributes "needsRedirect" and "semanticPathinfo" are originally set in the UrlAliasRouter.
Note: The event propagation will be stopped to ensure that no response can be set later and override the redirection.
public onKernelRequestRedirect ( |
||
$event |