mirror of
https://github.com/kristuff/abuseipdb
synced 2025-08-20 21:43:13 -07:00
v0.9.2
This commit is contained in:
parent
3f5ea52b1e
commit
368b7b4d75
3 changed files with 6 additions and 7 deletions
|
@ -14,7 +14,7 @@
|
|||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @version 0.9.1
|
||||
* @version 0.9.2
|
||||
* @copyright 2020 Kristuff
|
||||
*/
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @version 0.9.1
|
||||
* @version 0.9.2
|
||||
* @copyright 2020 Kristuff
|
||||
*/
|
||||
|
||||
|
@ -361,11 +361,10 @@ class ApiManager extends ApiDefintion
|
|||
|
||||
// If we're reporting spam, further munge any email addresses in the report
|
||||
$emailPattern = "/[^@\s]*@[^@\s]*\.[^@\s]*/";
|
||||
$emailRemplacement = "[-]";
|
||||
$message = preg_replace($emailPattern, $emailRemplacement, $message);
|
||||
$message = preg_replace($emailPattern, "[-]", $message);
|
||||
|
||||
// Make sure message is less 1024 chars
|
||||
return substr($message, 0,1024);
|
||||
return substr($message, 0, 1024);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @version 0.9.1
|
||||
* @version 0.9.2
|
||||
* @copyright 2020 Kristuff
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue