[EMAIL PROTECTED]
Mon, 18 Apr 2005 17:51:01 -0700
VULNERABLE VERSIONS - -------------------------------------------------------------- 0.4-LATEST BETA (2)
FIX ------------------------------------------------------------------
Replace the NewTerm function in GlossaryModel.php for this new one.
/**
* Adds a new term
*
* @acess public
* @param string $term Term
* @param string $desc Term's description
* @return boolean Returns true if term was added
*/
function NewTerm ($term, $desc)
{
//xss fix
if(stristr($term, "<") || stristr($term, ">"))
$term = strip_tags($term);
if(stristr($desc, "<") || stristr($desc, ">"))
$desc = strip_tags($desc);---------------------------------------------------------- Contact information :Paulino Calderon :[EMAIL PROTECTED] :http://suckea.com/nah/
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/