From 40f0454c847c6644f5013f4b4d8387121d49d41b Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 15 Jul 2015 08:18:23 +0000
Subject: [PATCH] Update podcast message body parsing regexp to be more lenient
 about location of URL.(more lines may follow).

---
 exec/load/podcast_routines.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/podcast_routines.js b/exec/load/podcast_routines.js
index d84dc47db2..0dbec823c4 100644
--- a/exec/load/podcast_routines.js
+++ b/exec/load/podcast_routines.js
@@ -59,7 +59,7 @@ function podcast_get_info(base, hdr)
 	if (body == null)
 		return;
 	body = word_wrap(body, 65535, 79, false).replace(/\r/g, '');
-	m = body.match(/^[\r\n\s]*([\x00-\xff]+?)[\r\n\s]+(https?:\/\/[^\r\n\s]+)[\r\n\s]*$/);
+	m = body.match(/^[\r\n\s]*([\x00-\xff]+?)[\r\n\s]+(https?:\/\/[^\r\n\s]+)[\r\n\s]/);
 	if (m==null)
 		return;
 	ret.title = hdr.subject;
-- 
GitLab