[generic] Fix redirect