I don't know what it is exactly in the urine that does the trick,
probably uric acid. It wouldn't work on Thrush - that relies on the acidity of urine to thrive. But daily yoghurt in your diet might keeps thrush from the er, um, door. By and large.
Has no-one done the silent "P" joke yet?