Skip to content

Commit 7c47737

Browse files
committed
fix: footer parser
1 parent 6d3b8d0 commit 7c47737

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func (m Message) GetFooterField(tags ...string) *Footer {
123123

124124
for _, tag := range tags {
125125
for _, f := range footers {
126-
if strings.ToLower(f.Tag) == tag {
126+
if strings.EqualFold(f.Tag, tag) {
127127
return &f
128128
}
129129
}

0 commit comments

Comments
 (0)