I don't have a dog. I'm not scared of them but I don't like them jumping up at me or sticking their head in my crotch. I live in a heavily dog walked area and these things frequently happen.
Yesterday, a woman got very cross when I told to to control her dog please. She also said I was making it worse by my reaction, which was a stern voice saying no and stop, and a hand held out in a stop gesture.
What should I do to deter friendly but badly behaved dogs when the owner won't do so? This owner objected to my ask and said she'd leave the dog to annoy me, and did so.