Improve IP addresses validation at creation time

Created on 11 November 2013, over 11 years ago
Updated 25 November 2024, 5 months ago

Staff added an IP address for a client here and mistakingly ended it with a dot.

PHP complained in Apache's error log:

[Mon Nov 11 08:41:01 2013] [error] [client 123.123.123.123] PHP Notice: Undefined offset: 4 in /path/to/drupal/sites/all/modules/ip_login/ip_login.module on line 355

We could improve this by being more strict on IP adresses validation when a user adds new values.

I identified this as a feature request because even if it's a small bug, it will require some work and user interface improvement to get done.

Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇨🇦Canada generalelektrix

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

Comments & Activities

Production build 0.71.5 2024