Two gay men (aged 27 and 29) in Indonesia have been caned 77 times each after they were caught having sex by their landlord. They were sentenced to public caning in accordance to Shariah law.
You can be sentenced to 100 lashes for offences including homosexual sex, adultery, gambling and drinking to name a few. These laws affect everyone even visitors, something to keep in mind if you ever find yourself in a country that practices the barbaric medieval law.
It’s always good practice to look up local laws and how they might affect you. If you plan to travel join the LGBTQ Travel group where you can ask advice and find out from others what it’s like visit some of these countries.