forked from enlightenment/enlightenment
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:
parent
2c7e448fb2
commit
084aeebaa7
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue