Skip to content

Commit

Permalink
Merge pull request #4308
Browse files Browse the repository at this point in the history
1878338 TxUtils: allow @ in OpenAlias domain (selsta)
  • Loading branch information
luigi1111 committed Aug 13, 2024
2 parents 50d479f + 1878338 commit a49cd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/TxUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a49cd13

Please sign in to comment.