fixing typo in redirection query string

Backport of a2cae551f30a0166439af9d467134d4bd802e940 to stable6