Strip possible . from the end of the url