A-owl/jquery-mobilePassword

characters 2 3 C F are not masked

Opened this issue · 1 comments

because your masked character is %u25CF, the characters in that unicode string do not get masked

The fix is to replace the unicode with the actual character • (copy and paste the bullet)

The fix would be to replace line 163

var regex = new RegExp('[^' + this.options.character + ']', 'gi');

with

var regex = new RegExp('[^' + unescape(this.options.character) + ']', 'gi');