Opened 6 years ago

Last modified 4 years ago

#28754 closed Bug

validate_ipv46_address validator allows IP addresses to begin with a first octet of zero — at Initial Version

Reported by: frankston Owned by: nobody
Component: Core (Other) Version: 1.11
Severity: Normal Keywords: IP, regular expression
Cc: Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The regular expression used by the validate_ipv46_address validator allows IP addresses to begin with a first octet of zero.

For example the following IPs are incorrectly identified as being valid:
0.1.2.3
0.90.11.2

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top