From f41d507db568d56f98c8bba176732945a18c2ec3 Mon Sep 17 00:00:00 2001 From: lifei6671 Date: Wed, 14 Nov 2018 16:32:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail/smtp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/smtp.go b/mail/smtp.go index 9caef12f..c6df01d3 100644 --- a/mail/smtp.go +++ b/mail/smtp.go @@ -22,7 +22,7 @@ import ( var ( imageRegex = regexp.MustCompile(`(src|background)=["'](.*?)["']`) - schemeRegxp = regexp.MustCompile(`^[A-z]+://`) + schemeRegxp = regexp.MustCompile(`^[a-zA-Z]+://`) ) // Mail will represent a formatted email