[REVIEW] Remove usage of deprecated ::redirect (issue #542)