Well Hindus have many sacred scriptures.Not one.The Vedas,the Upanishads,the Itihaasas,the Puranas and various commentaries on these books by gurus of different sects.And there exist Sthala Puranas too i.e sacred texts particular only to to one holy place.Even as early as in 8th century A.D,one particular sthala Purana of Srisailam has this story.Yohan wrote:Isn't it just only a couple of years ago that Hindus like you attacked Christians in the Indian state of Karnataka, because some Christians spread the word that one Hindu deity Urvasi was a prostitute? Don't deny this.
Once Lord Shiva and his consort Parvathi were having a chit-chat.Parvati asks Shiva whether or not the sins of those that take bath in a holy waters of Srisailam are washed away.Then Shiva asks her to follow him in disguise and do as he says.They both disguise themselves as aged persons and Shiva intentionally gets down into a pit.
He and his consort then scream for help to get out of the pit.
When people come to help them out,Parvati says that her husband because of strange powers bestowed upon him,could be helped only by someone who is totally sinless else they will be burnt.Then nobody comes forward.At last a prostitute comes forward,says that she had just worshipped Shiva after taking a holy bath and hence is totally sinless and she pulls him out.
Shiva then tells his consort that those who sincerely believe would have their sins cleansed and those that did not would still have them.This is just like saying my grace is sufficient for you.
Now this sthala Purana is an exact copy of the sthala Purana of Benaras or Varanasi.So I do not believe in these copy paste things.However one thing is clear,that the occupation of prostitution was still considered sinful even before 8th century as is evident from the above story.
In pagan Graeco-Roman world,they used to say what the gods do is not applicable to humans.Similiar is the sentiment echoed in the Matsya Purana of Hindus.
Or might be Hindus would place the descriptions of Urvasi in the category of content of corrupted books in the age of Kaliyug.We may never really know.
The only difference might be Hindus did not make it a law or a taboo to exclude prostitutes from visiting temples or from making adultery a crime punishable by stoning to death.