#737 closed enhancement (fixed)
validators.isValidIPAddress4 using only regexps
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Validators | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi, The attached diff simplifies the isValidIPAddress4 validator so that it uses only regexps to check the IP address rather than splitting and checking the value of each field.
Attachments (1)
Change History (2)
by , 19 years ago
Attachment: | validators.py.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
isValidIPAddress4 enhancement