Removed open redirect vulnerability.

Thanks @TheRook issue #9
bumped version number