Spoiler etiquette is commonsense for any reasonable person. As a general rule of thumb, for revealing spoilers, just don't be a dick and try not to spoil shit for others. Without much effort, most rational people can avoid spoilers themselves, and can refrain from spoiling endings for others.