You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/05/03 14:28:36 UTC
[incubator-ponymail] branch master updated: Bug: Invalid mailing
list address supplied #516
This is an automated email from the ASF dual-hosted git repository.
sebb 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 f0e3d49 Bug: Invalid mailing list address supplied #516
f0e3d49 is described below
commit f0e3d49c3bb235f899b67543c7918bab34706cb7
Author: Sebb <se...@apache.org>
AuthorDate: Mon May 3 15:28:18 2021 +0100
Bug: Invalid mailing list address supplied #516
Originally partially fixed in
64d04ed702b4c86c52fdc069d3e713361a713aab
This fixes #516
---
CHANGELOG.md | 1 +
site/js/ponymail.js | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 417b9f1..056904a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
## Changes in 0.12:
+- Bug: Invalid mailing list address supplied (#516)
- Enh: stats.lua could return monthly stats to show in calendar (#532)
- Bug: archiver.py msgbody() function issues (#244 and #463)
- Bug: archiver.py: convertToWrapped expects bytes (#462)
diff --git a/site/js/ponymail.js b/site/js/ponymail.js
index 3c7e9d9..af50d38 100644
--- a/site/js/ponymail.js
+++ b/site/js/ponymail.js
@@ -2323,7 +2323,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