in reply to Unable to get filename with quotes after upload?

See code/links in Re: Perl/CGI Uploading file to the server using a upload hook is failing intermittently and don't let users assign filename, store it as metadata or escape/encode it :)
  • Comment on Re: Invalid filehandle on filenames with quotes after upload?

Replies are listed 'Best First'.
Re^2: Invalid filehandle on filenames with quotes after upload?
by isync (Hermit) on Jan 16, 2012 at 13:09 UTC
    What exactly is the bit you are referring to? Is it WashName()? Because this also relies on my $filename = $cgi->param( $field ); to get the original albeit possibly dangerous/with-strange-chars filename. So when I would enforce a [A-Z0-9] file-naming convention, it would also fail on getting the original non-canonical name, no?

      ... file-naming convention, it would also fail on getting the original non-canonical name, no?

      What?