Shower sex

Is shower sex bad? Someone told me it can cause UTI's. I know it's not a good idea to have sex in swimming pools, which makes sense because of the chlorine, etc. but I don't see how you can get UTI's from shower sex?