Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#737 closed enhancement (fixed)

validators.isValidIPAddress4 using only regexps

Reported by: mattimustang@… Owned by: adrian
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: UI/UX:

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)

validators.py.diff (1.2 KB) - added by mattimustang@… 10 years ago.
isValidIPAddress4 enhancement

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by mattimustang@…

isValidIPAddress4 enhancement

comment:1 Changed 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [1093]) Fixed #737 -- Changed validators.isValidIPAddress4 to use a single regex. Thanks, mattimustang

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