I love dogs. This is a very intelligent animals. Usually people's own fault that the dog attacked. Unless of course you are a victim of the owner who unleashed her dog, but perhaps in this case the dog's fault. In General, any predator attacks man only when man inadvertently enters his territory.
That's exactly why people should not be allowed to have dogs in towns and cities. Towns are territory of us humans, not the dogs. They can't understand that the public sidewalk is not their territory.
When I was very little my aunt took me for a walk in a nearby park. I was climbing a tree when a dog rushed towards her barking. The owner was shouting "it only wants to play with you", well my aunt got scared and started running. Of course the dog caught up with her soon and bit her leg. Left a nasty wound and later on a scar too. Who would have guessed, the dog didn't want to play! Of course the owner said something like "She has never done that before" and then ran away, we never saw her again. How did my auntie enter the dog's territory when it doesn't even live there?
Dog owners are some of the worst people these days. Totally irresponsible and don't give a damn about their pets terrorising other people.
Just because a few dog owners are careless you shouldnt group all dog owners in the category of "irresponsible" I have owned dogs my entire life without a single incident.