A Shanghai Metro microblog post urging women to ''pay attention to how you dress'' to avoid sexual harassment has sparked protests and strong reactions.

The metro operator posted a picture of a woman in a see-through dress on its Twitter-like Weibo account, saying: "It's no wonder that some people get harassed if they dress like this."

This drew criticism for discrimination and sexism from irate women.

John Sudworth reports from Shanghai