Closed zui-jiang closed 3 years ago
Ahh good question! What i do is that I check the host name of the destination domain (the "nlsn.cf" part) If the destination host name.is the same as the current host name, I redirect to the home page. That being said, if I used another url shotener service to shorten nlsn.cf urls, and then shortened that url with nlsn.cf again, it would be still caught in an infinite loop. This is as I do not use 301 redirects (no way I can do this with github pages) and thus i can't detect infinite loops.
One more thing, I'm surprised I'm still getting stars on this repo so thank you! How did you know about this project?
Like issues 70 and 71, which link to another.