1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-27 09:53:38 +01:00

Merge pull request #4308

1878338 TxUtils: allow @ in OpenAlias domain (selsta)
This commit is contained in:
luigi1111 2024-08-13 12:37:59 -04:00
commit a49cd13a83
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -70,7 +70,7 @@ function checkSignature(signature) {
}
function isValidOpenAliasAddress(address) {
var regex = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)+$/; // Basic domain structure
var regex = /^[A-Za-z0-9-@]+(\.[A-Za-z0-9-]+)+$/; // Basic domain structure, allow email-like address
if (!regex.test(address)) {
return false;