From 1878338a4473927288b3b4c36a08d63879014368 Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 25 Apr 2024 16:31:22 +0200 Subject: [PATCH] TxUtils: allow @ in OpenAlias domain --- js/TxUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/TxUtils.js b/js/TxUtils.js index 14a7d519..7b028b3e 100644 --- a/js/TxUtils.js +++ b/js/TxUtils.js @@ -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;