1
0
lifei6671 7 жил өмнө
parent
commit
f41d507db5
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      mail/smtp.go

+ 1 - 1
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