merged branch lmcnearney/master (PR #623)
This PR was squashed before being merged into the master branch (closes #623). Discussion ---------- Include querystring parameters when issuing a redirect from RedirectableUrlMatcher When a route has a scheme requirement (HTTP or HTTPS) and the current request's scheme does not match it, it issues a redirect to the required scheme. Prior to this change, the new URL being redirected to left off the querystring parameters. It would be cleaner to set the QUERY_STRING parameter as part of RequestContext->fromRequest() but that's part of the Symfony core. Including it inside the $this['url_matcher'] closure keeps the change localized to Silex. Commits ------- 09034777 Include querystring parameters when issuing a redirect from RedirectableUrlMatcher
Showing
Please register or sign in to comment