Fixed Typo In Security.php

`$character` is undefined. Did you mean `$char`?
Sure, the GitHub editor added it. I'll pull this down to my computer to remove it...