mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-21 08:30:23 -07:00
js/mailhops.js: lower case Received-SPF state.
Some MTAs pass a non-lowercase state, so make sure we sanitize it before we select the icon or the description.
This commit is contained in:
parent
72ac705df2
commit
d921758406
@ -308,8 +308,8 @@ class MailHops {
|
||||
auth.push({
|
||||
type: 'SPF',
|
||||
color: 'green',
|
||||
icon: '/images/auth/' + headerSPFArr[0] + '.png',
|
||||
copy: header_spf + '\n' + MailHopsUtils.spf(headerSPFArr[0]).trim()
|
||||
icon: '/images/auth/' + headerSPFArr[0].toLowerCase () + '.png',
|
||||
copy: header_spf + '\n' + MailHopsUtils.spf(headerSPFArr[0].toLowerCase ()).trim()
|
||||
});
|
||||
}
|
||||
//Authentication-Results
|
||||
|
Loading…
x
Reference in New Issue
Block a user