>> :+    if (!isalnum(*name)) {
>> :+        reply(521, "Bite me.");
>> :+        return;
>> :+    }
> 
> Use isprint() on the entire string; this will give the desired result in
> most cases.  It should probably be optional (defaulting to on, since it's
> a security measure).
> 
> 

Actually, what would be nicely functional and general purpose would be a
pair of options, one to prevent the creation of files/directories with a
leading-dot name, the other a full isprint() filter on the whole string.
And for each option, the ability to apply that filtering to all users or
only anon users.

(So why am I kvetching instead of coding and submitting?  'cause I'm still
struggling my way up the nearly-vertical side of the cvs learning curve.)

-- Ian




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

Reply via email to