Who has custody of a child when the parents are not married and there is not a custodial order from the court in Canada?

Based on reports from single fathers, the mother has sole custody until otherwise ruled on by the courts. see links