Subject: | Error in uploading file |
$CGI::VERSION='2.98';
This is perl, v5.6.1 built for i386-linux
Server version: Apache-AdvancedExtranetServer/1.3.20 (Mandrake Linux/3mdk)
Linux Mandrake 8.1
When submitting a file for upload, it gives following error if the filename is not proper i.e.
- use 'Browse...' file selection dialog
- select a file for upload
- but then, strip off the filename (leaving just the directory path behind)
- submit html form
The apache error_log has this error:
CGI.pm: Server closed socket during multipart read (client aborted?).
[Wed Oct 15 00:23:53 2003] [error] [client 127.0.0.1] Premature end of script headers: /var/www/cgi-bin/wpaaNew/membership.cgi
It works fine if the filename is complete and well-formed.