WikiLeaks did take steps to redact sensitive information in their releases. For example, when releasing the Afghan War Diary, WikiLeaks initially withheld 15,000 documents to conduct a harm minimization review. Additionally, WikiLeaks partnered with media organizations like The New York Times, The Guardian, and Der Spiegel, which helped review and redact certain information to prevent undue harm to individuals.
One significant example is the "Iraq War Logs," where WikiLeaks worked to remove names and other identifying information to protect innocent individuals.
Also if Assange, a non-US citizen is subject to US laws, that means we can also be subject to laws from Iran.