[Maintain-dev] [JIRA] Work started: (MNT-1509) IP Validation in Maintain

Josh Schonstal (JIRA) jira at osuosl.org
Wed Jul 19 15:08:31 PDT 2006


     [ http://bugs.osuosl.org/browse/MNT-1509?page=history ]
     
Work on MNT-1509 started by Josh Schonstal

> IP Validation in Maintain
> -------------------------
>
>          Key: MNT-1509
>          URL: http://bugs.osuosl.org/browse/MNT-1509
>      Project: Maintain
>         Type: Task
>     Versions: 3.0
>     Reporter: Michael Clay
>     Assignee: Josh Schonstal

>
>
> IP Address validation needs to be looked at accross all objects.  There are a few issues that have arisen that shows inconsistencies.  Some of these are due to the double standard in IP validation due to forms and DB requirements.  For example, a form should be inputted as a dotted quad, but the database wants them as longs.  If you force the objects to validate them as dotted quads, the database won't accept them.  If you validate them as ints, then the user can input invalid data into the IP field since the formatting of data isn't verified.
> Other issues that have arisen are that some checks are nonsensical, some are just plain wrong, and some checks haven't even been implemented.  A good deal of our form validation issues centers around poorly implemented IP validation methods since the form asks the objects to handle the validation.  These validation methods must be retooled.  Doing so will no doubt clean up a lot of the other errors we're finding.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://bugs.osuosl.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



More information about the Maintain-dev mailing list