mirror of https://github.com/djcb/mu.git
mu: fix list-post email regexp
'_' is valid in email addresses. Fix courtesy of jaknel; fixes #1529.
This commit is contained in:
parent
9f93526884
commit
b1d4c5af79
|
@ -178,7 +178,7 @@ maybe_append_list_post_as_reply_to (GString *gstr, MuMsg *msg)
|
|||
if (!list_post)
|
||||
return;
|
||||
|
||||
rx = g_regex_new ("^(<?mailto:)?([a-z0-9%+@.-]+)>?", G_REGEX_CASELESS, 0, NULL);
|
||||
rx = g_regex_new ("^(<?mailto:)?([a-z0-9%+@._-]+)>?", G_REGEX_CASELESS, 0, NULL);
|
||||
g_return_if_fail(rx);
|
||||
|
||||
if (g_regex_match (rx, list_post, 0, &minfo)) {
|
||||
|
|
Loading…
Reference in New Issue