Premature rupture of the membranes and ascending infection