Check for wrong range values

Created on 10 July 2016, over 8 years ago
Updated 5 June 2024, 10 months ago

I filled IP range start field as 51.255.65.00 (correct 51.255.65.0) and result $lower_dec = (float) sprintf("%u", ip2long($lower)); was zero. So, were banned ALL IP up to 51.255.65.255 . Maybe need check for $lower_dec value?

I make patch file, testing on my project.

✨ Feature request
Status

RTBC

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine goodboy Kharkiv, Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024