SMF icon indicating copy to clipboard operation
SMF copied to clipboard

tracking ip fails with error because smf changes the IP with wildcard to an malformat ip range

Open The4Apes opened this issue 2 years ago • 1 comments

If i use wildcard for tracking ip (index.php?action=trackip) like "123.456.789.*" the software transforms this in the inputbox at the result side to "123.456.789.0 - 123.456.789.255" If i get more then one sites of results and go to the next side, i get the error: "Invalid IP / IP range. Example of a valid IP address: 127.0.0.1 Example of a valid IP range: 127.0.0.*"

The4Apes avatar Jul 16 '22 16:07 The4Apes

Cause found and fixed. Target File: Profile-View.php File Version: 2.1.0 Code-Line: 2328 Solution: $context['ip'] must not contain spaces. Original-Code: $context['ip'] = $context['ip']['low'] . ' - ' . $context['ip']['high']; Fixed Code: $context['ip'] = $context['ip']['low'] . '-' . $context['ip']['high'];

Don't mention it.

The4Apes avatar Aug 04 '22 14:08 The4Apes