Fixes issue #156

I could make a PR for this some other time, just something to consider as a mild security problem.