you need to deal with a lot of edge cases, have a look in your saved URLs.
Also add an option for people to view the target of a URL before they click it, such as adding a + to the end.
But also understand that URL shorteners are considered unsafe due to the lack of transparency on the target.
"Also add an option for people to view the target of a URL before they click it, such as adding a + to the end."
Mmm, I like that feature. Will create that.