fixed regression in cgi chain redirection