I know there are about 10 million messages on perlmonks
about uploading a file, but I haven't come across one that
addresses this issue. I'm basically using the script in
the OReiley book CGI Programming. The problem is when
someone inputs just the directory instead of a file the
browser seems to hang. I've set CGI::MAX_POST to a low
value. But that doesn't seem to help. I thought I could
check for illegal characters in the file name, but it
doesn't solve the problem.
Can someone please point me in the right direction.
Thanks!