tmpim / KristWeb-old

The old web wallet for Krist. Superseded by tmpim/KristWeb2
https://github.com/tmpim/KristWeb2
7 stars 5 forks source link

Capital alphabetic chars in a meta name in a transaction destination break it #27

Closed Wendelstein7 closed 6 years ago

Wendelstein7 commented 6 years ago

Appears to be an actual bug, and not something on my side 😅

When trying to send krist to a meta name and domain name, for example foo@bar.kst, It will break if foo contains or ends with capital letters.

Test: You can enter lemmmy@sc.kst You can not enter lemMMY@sc.kst (the text field will be cleared as soon as you 'leave' the textbox / input control.)

Maybe names should be better supported in general,because if you don't exactly type a name in right, the input will be cleared. You're forced to click "add to address book" (which itself doesn't even work, the last time I checked)

This "add to address book" doesn't show up when a name with capital letters is entered.

Lemmmy commented 6 years ago

Seems I forgot the i flag in the Selectize regex. Should be a simple fix.