Throughout this case, I've felt like the charges are just a pretext. They wanted to get this guy for something, and they used this as a justification. I find it really hard to believe that someone in the Iranian Justice Department-equivalent was looking for porn sites and checking out the source code.
There must be something else going on here; this is just misdirection.