SMF
SMF copied to clipboard
tracking ip fails with error because smf changes the IP with wildcard to an malformat ip range
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.*"
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.