Make sure the base URL ends with a slash.