Splits dipeptides with a prolyl residue in the C-terminal position. Hydrolysis of Xaa-|-Pro dipeptides. Also acts on aminoacyl-hydroxyproline analogs. No action on Pro-|-Pro. Binds 2 manganese ions per subunit. Belongs to the peptidase M24B family. Bacterial-type prolidase subfamily.