From b5127a81d37a6100365ae15a9109e3de9baa6ed9 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 7 Jul 2022 15:36:52 +0100 Subject: fix whitespace in mail subject --- lib/URLQueue/MainController.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/URLQueue') diff --git a/lib/URLQueue/MainController.pm b/lib/URLQueue/MainController.pm index cd3a287..0612ccf 100644 --- a/lib/URLQueue/MainController.pm +++ b/lib/URLQueue/MainController.pm @@ -184,7 +184,7 @@ sub send_email { my ($self,$title,$body)=@_; $title=MIME::EncWords::encode_mimewords( - Encode::encode('utf-8',$title), + Encode::encode('utf-8', $title =~ s/\s+/ /gr), Charset=>'utf-8', ); -- cgit v1.2.3