about summary refs log tree commit homepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ssoma-replay2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ssoma-replay b/scripts/ssoma-replay
index 46b15d7e..3e928084 100755
--- a/scripts/ssoma-replay
+++ b/scripts/ssoma-replay
@@ -52,7 +52,7 @@ if (defined $list_id) {
         if (defined $domain) {
                 $archive_url = "https://$domain/$user/";
                 my $mid = $header_obj->header('Message-Id');
-                if ($mid =~ /\A<(.+)>\z/) {
+                if ($mid =~ /<[ \t]*([^>]+)?[ \t]*>/s) {
                         $mid = $1;
                 }
                 $mid = uri_escape_utf8($mid,