I try to avoid being in the zone of door contact, but know that I might ride too close at the wrong time. Since door edges can kill or seriously maim, I plan on steering for the leg that should be extending over the door jamb by the time I get there. Share the road or share the pain, I figure.
I'm no lawyer but it seems like more of a civil issue where the person opening their door and causing a crash would be liable for damages and injury. Just because something is not spelled out as illegal doesn't absolve someone's liability for being negligent and causing a traffic accident.