Create validate_id() and use everywhere possible.

Morbus Iff - December 1, 2004 - 04:41
Project:LibDB
Version:HEAD
Component:Code
Category:task
Priority:normal
Assigned:Morbus Iff
Status:active
Description

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.

 
 

Drupal is a registered trademark of Dries Buytaert.