#28754: validate_ipv46_address validator allows IP addresses to begin with a
first
octet of zero
-------------------------------------+-------------------------------------
Reporter: frankston | Owner: nobody
Type: Bug | Status: new
Component: Core | Version: 1.11
(Other) | Keywords: IP, regular
Severity: Normal | expression
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
The regular expression used by the
[https://docs.djangoproject.com/en/1.11/_modules/django/core/validators/#validate_ipv46_address
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
--
Ticket URL: <https://code.djangoproject.com/ticket/28754>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.2120a3281693d2c0ef9ff32b7a7ca917%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.