josephecmu / whois

whois
0 stars 0 forks source link

Form validation will need to change. Below queries LDAP, need to query domain object. #22

Closed josephecmu closed 6 years ago

josephecmu commented 6 years ago

https://github.com/josephecmu/whois/blob/8c74f68e8acf6bab7a3eba4fe14b39720f5662e4/code/class/cmu/html/form/visitors/CheckChangeVisitor.php#L8

josephecmu commented 6 years ago

several options... Most favorable to least.

1-compare arrays somehow.

2- query the domain, build an object and return a value / compare a value.

3-remap the LDAP keys an keep existing structure, querying the database directly.

josephecmu commented 6 years ago

Created a new DoValues object and registry.

Hooked into existing code.