potential PEAR::Validate bug

From: Date: Tue, 20 Jan 2004 12:17:52 +0000
Subject: potential PEAR::Validate bug
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10241@lists.php.net to get a copy of this message
I believe there may be a bug in Validate's uri method. When testing a string as a valid URI, if you don't pass the second optional $options array, the current code still checks for 'allowed_schemes' which hasn't been passed in options. Didn't find any relevant comments in pear-dev or the bugs database, attached is a patch which gets around the problem. Should I file this as a bug? cheers Demian

« previous php.pear.general (#10241) next »