From the BBC:

Israel has sentenced a soldier to 19 days in jail for uploading a photograph taken on his military base to the social networking website, Facebook.

The Israeli military declined to comment on the nature of the image, but said the soldier was serving with an elite intelligence unit.

Local media say it is the first such conviction for an Israeli soldier.

The case follows widespread reports about the potential security risk of soldiers posting photos on the web.