Problem

On creating redirect with query string external URL as redirect URI, it strips query string by returning base url of the redirect destination.

Solution

Change base url of the redirect destination in the setRedirect method with $uri value, which is formed by $url and $query

Comments

euphoric_mv created an issue. See original summary.

euphoric_mv’s picture

pdenooijer’s picture

Status: Active » Reviewed & tested by the community

Works like a charm!

berdir’s picture

Status: Reviewed & tested by the community » Fixed

Thought about test coverage, but I guess I've kept you waiting too long for a comment like that ;)

  • Berdir committed 065e74c on 8.x-1.x authored by euphoric_mv
    Issue #3136507 by euphoric_mv: Redirect removes query string from...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.