Allow preventing redirect