fix behavior on redirect, no need for double requests

This patch fixes double requests for cross domain redirecting.