baseUrl trailing slash check