Tidy a URL with a trailing /