I created a simple url shortener[0] a while back and though I thought of this I hadn't considered people could add a '.' to the domain to get around that (so http://yl.io/1 becomes http://yl.io./1), which somebody was nice enough to figure out for me ;)
Comments
Probably should block the same domain from shortening.else you'll get something like http://9m.no/婀蒾 (multiple redirects)
I created a simple url shortener[0] a while back and though I thought of this I hadn't considered people could add a '.' to the domain to get around that (so http://yl.io/1 becomes http://yl.io./1), which somebody was nice enough to figure out for me ;)
[0] http://yl.io
Care to share the source? I like its simplicity!
HN really needs to let me know when I get replied to :)
The source is available[0], can't remember if it's any good though. :)
[0] https://github.com/buttscicles/yl.io