(refs #296)Fix redirection path generation again