reject non-printable characters from lokker entry

previously characters such as tab would be injected into the entry when pressed.
this is the same check which is used in various other places in efl for string
validation
This commit is contained in:
Mike Blumenkrantz 2016-11-18 10:19:14 -05:00
parent 02fc2fffa8
commit 348a3be719
1 changed files with 1 additions and 1 deletions

View File

@ -727,7 +727,7 @@ _lokker_cb_key_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
else
{
/* here we have to grab a password */
if (ev->compose)
if (ev->compose && (ev->string[0] >= 0x20) && (ev->string[0] != 0x7f))
{
if (lokker_is_pin())
{