Those in the west who dismiss the repressiveness of laws against women in countries like Iran, no matter how benign their intentions, present a condescending view not just of the religion but also of women living in Muslim majority countries, as if the desire for choice and happiness is the monopoly of women in the west.
Basically, fundamentalism is a modern phenomenon. In the same way that Hitler evoked a mythological religion of German purity and the glory of the past, the Islamists use religion to evoke emotions and passions in people who have been oppressed for a long time in order to reach their purpose.
Religion was used as an ideology, as a system of control. When they forced the veil upon women, they were using it as an instrument of control in the same way that in Mao's China people were wearing Mao jackets and women were not supposed to wear any makeup.