I heard that one of the companions (May Allah be pleased with them) disclosed a war secret to the infidels, but the Messenger (Peace and blessings be upon him) forgave him after realizing the truth of the matter. Did this companion commit that act to betray Allah and the Messenger (Peace and blessings be upon him) or he just disclosed the secret unintentionally and what is the name of that companion?