Fix mixed database.url formats