Prevent inadvertent mixed-content.