MyBB Community Forums

Full Version: Purge spammer not being submitted to SFS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Because the IP's aren't formatted properly, they're still in binary format.

https://github.com/mybb/mybb/blob/featur....php#L2849

Simple fix:
$sfs = @fetch_remote_file("http://stopforumspam.com/add.php?username=" . urlencode($user['username']) . "&ip_addr=" . urlencode(my_inet_ntop($db->unescape_binary($user['lastip']))) . "&email=" . urlencode($user['email']) . "&api_key=" . urlencode($mybb->settings['purgespammerapikey']));
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/1813

Thanks for contributing to MyBB!

Regards,
The MyBB Group