mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-17 06:40:08 -07:00
This commit is contained in:
parent
a8cc84b2f3
commit
b0ef68a9c3
@ -268,6 +268,7 @@ mailHops.testIP = function(ip,header){
|
|||||||
|| lastchar.match(/\.|\d|\-/)
|
|| lastchar.match(/\.|\d|\-/)
|
||||||
|| ( firstchar == '?' && lastchar == '?' )
|
|| ( firstchar == '?' && lastchar == '?' )
|
||||||
|| lastchar == ';'
|
|| lastchar == ';'
|
||||||
|
|| header.toLowerCase().indexOf('id '+ip) !== -1
|
||||||
|| parseInt(ip.substring(0,ip.indexOf('.'))) >= 240 //IANA-RESERVED
|
|| parseInt(ip.substring(0,ip.indexOf('.'))) >= 240 //IANA-RESERVED
|
||||||
){
|
){
|
||||||
//only if there is one instance of this IP
|
//only if there is one instance of this IP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user