Ensure no trailing slash before slash is added.