I would urge you to do research to confirm your assertion here. What I described is not a fringe view, it's literally a summary of the Criticism section in the Wikipedia entry for the law in question:
https://en.wikipedia.org/wiki/Espionage_Act_of_1917#Criticis...