Fix for base urls ending in a forward slash