From a6e86497dff72ec8b25ca1e79b8cfca9d34305d1 Mon Sep 17 00:00:00 2001 From: Mike Cardwell Date: Tue, 15 Nov 2011 13:05:48 +0000 Subject: [PATCH] Handle CID urls that are not surrounded by quotation marks --- gpgit.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpgit.pl b/gpgit.pl index f25f231..33512ff 100755 --- a/gpgit.pl +++ b/gpgit.pl @@ -229,7 +229,7 @@ use MIME::Parser; ## Parse out cid urls my @cids; - $html =~ s/=\s*["']cid:(.+?)["'\s\/>]/push @cids,$1/egoism; + $html =~ s/=\s*["']?cid:(.+?)["'\s\/>]/push @cids,$1/egoism; return @cids; }