in reply to Re: How do you clean up user specified filenames?
in thread How do you clean up user specified filenames?
I'm paranoid enough to do something like
to make sure the user doesn't enter a string containing only dots.tr/A-Za-z_.-//dc; s/^\.+$//;
|
|---|