lnbits / lnurlp

MIT License
9 stars 8 forks source link

Capital Letters in LNaddress fail #18

Closed arbadacarbaYK closed 1 year ago

arbadacarbaYK commented 1 year ago

Though i get that the DB-entries need a harmonized format it should not be a requirement in the frontend. Can we reformat from capital to small letters on saving (if no such lnaddress is already stored) ?

Bildschirmfoto 2023-08-27 um 15 12 18
bitkarrot commented 1 year ago

If you read the Lightning address specification it is limited to the lower case letters here: https://github.com/lnurl/luds/blob/luds/16.md

If you mean you want an automated upper-to-lower conversion in the front end input form, feel free to make that a javascript PR hehe :)

arbadacarbaYK commented 1 year ago

If you read the Lightning address specification it is limited to the lower case letters here: https://github.com/lnurl/luds/blob/luds/16.md

If you mean you want an automated upper-to-lower conversion in the front end input form, feel free to make that a javascript PR hehe :)

no, i mean when writing the link to the database ("on saving")