This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git
The following commit(s) were added to refs/heads/master by this push: new 64d04ed underscore should be a valid value (even if DNS doesn't support it for domains) 64d04ed is described below commit 64d04ed702b4c86c52fdc069d3e713361a713aab Author: Daniel Gruno <humbed...@apache.org> AuthorDate: Fri Jun 12 16:52:51 2020 +0200 underscore should be a valid value (even if DNS doesn't support it for domains) This addresses #516 --- site/js/dev/ponymail_helperfuncs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/js/dev/ponymail_helperfuncs.js b/site/js/dev/ponymail_helperfuncs.js index d9514ec..6362e71 100644 --- a/site/js/dev/ponymail_helperfuncs.js +++ b/site/js/dev/ponymail_helperfuncs.js @@ -178,7 +178,7 @@ function isArray(obj) { // ML address: only accept valid mailing list name, domain or both // return true if the address is valid function valid_address(val) { - return val.match(/^[-@A-Za-z.0-9]+$/); + return val.match(/^[-_@A-Za-z.0-9]+$/); } // Check for slow URLs every 0.1 seconds