File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function getTerms(): iterable
55
55
}
56
56
$ cidr4 = array_key_exists ('cidr4 ' , $ matches ) && $ matches ['cidr4 ' ] !== '' ? intval ($ matches ['cidr4 ' ]) : null ;
57
57
$ cidr6 = array_key_exists ('cidr6 ' , $ matches ) && $ matches ['cidr6 ' ] !== '' ? intval ($ matches ['cidr6 ' ]) : null ;
58
- switch ($ matches ['term ' ]) {
58
+ switch (strtolower ( $ matches ['term ' ]) ) {
59
59
case Mechanism::ALL :
60
60
yield new All ($ term , $ matches ['qualifier ' ]);
61
61
break ;
Original file line number Diff line number Diff line change
1
+ description : Issue 49
2
+ tests :
3
+ include-permerror :
4
+ description : >-
5
+ Accept different upper and lower case mechanisms
6
+ helo : mail.example.net
7
+ host : 127.0.0.1
8
+
9
+ result : pass
10
+ zonedata :
11
+ example.com :
12
+ - SPF : ' v=spf1 iP4:127.0.0.1 ~aLL'
13
+ example.net :
14
+ - SPF : ' v=spf1 +All'
15
+ example.org :
16
+ - SPF : ' v=spf1 +IP4:127.0.0.1 -ALL'
You can’t perform that action at this time.
0 commit comments