On Wed, Dec 27, 2000 at 01:18:28PM +0200, Peter Pentchev wrote:
[snip..]
>       closedir(D);
>       foreach $fname (@files) {
>               next if (($fname eq ".") || ($fname eq ".."));
>               # more filename vailidity checks go here
                                ^^^^^^^^^ validity.. *sigh* :P
>               # pattern filtering and subexpression to 'untaint'
>               next unless $fname =~ /^([\w\d._-]+\.cvs)$/;
>               $fname = $1;

G'luck,
Peter

-- 
Thit sentence is not self-referential because "thit" is not a word.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to