1. There's a lot of typical victim blaming, downplaying, and "why didn't she just ask him to stop" comments on this submission, and it saddens me. Many of the reactions here are a large part why so many women feel uncomfortable and unwelcome in tech.
2. This is partially why HR exists. HR isn't just there to handle payroll. More people should do this, rather than let things fester or ignore things that should be reported.