use the end location of an redirected URL closes #356
changes in 2.6 so far