3 ms·
Indeed :) I think you could catch the infinitive loop client-side as well by comparing what the URL to redirect to is, and comparing it with the current URL. I
by diggan 6y ago
Indeed :)
I think you could catch the infinitive loop client-side as well by comparing what the URL to redirect to is, and comparing it with the current URL. If they are the same, prevent the redirect. Although you would still be able to create loops by using two issues instead. Maybe just comparing the full hostname? If it's nlsn.cf, don't redirect.
- a1369209993 6y ago> Maybe just comparing the full hostname? If it's nlsn.cf, don't redirect. Doesn't work; eg, make http://someothershorten.er/foo http://someothershorten.er/foo -> http://nlsn.cf/1234 http://nlsn.cf/1234 -> http://someothershorten.er/foo http://someothershorten.er/foo.