Don't overwrite redirected URL in script_task (fixes #3970)