[libdb-develop] [task] Create validate_id() and use everywhere possible.
Status: Inactive
Brought to you by:
morbus
From: Morbus I. <mo...@di...> - 2004-12-01 04:41:49
|
Project: LibDB Version: cvs Component: Code Category: tasks Priority: normal Assigned to: Morbus Iff Reported by: Morbus Iff Updated by: Morbus Iff Status: active We don't do any input checking on the $id's we receive. We should. Function should check that the $id is twenty characters long, and consists of alphanumerics only. It should return 0 on failure, and 1 on success. It should also be used in almost every function that accepts an $id as a parameter. Which is, like, all of 'em, g-thang. Morbus Iff -- View: http://drupal.org/node/13730 Edit: http://drupal.org/project/comments/add/13730 |