Indonesian lawmakers passed a revision to its code of laws banning all forms of sex outside marriage for both citizens and foreigners. The package of laws, which was met with criticism from human rights activists, also bans political and religious dissent.