#2556 Fix redirect with parameters