ignore punctuation at the end of URL