Strip , and . from end of URLs