Support trailing slashes in URLs.