--- loncom/cgi/decompress.pl 2003/11/19 20:03:39 1.10
+++ loncom/cgi/decompress.pl 2003/12/13 00:20:47 1.11
@@ -48,43 +48,43 @@ END
Output of decompress:
END
chdir $ENV{'cgi.dir'};
- if ($ENV{'cgi.file'} =~ m|zip|) {
- open(OUTPUT, "unzip $ENV{'cgi.file'} 2> /dev/null |");
+ if ($ENV{'cgi.file'} =~ m|\.zip$|i) {
+ open(OUTPUT, "unzip -o $ENV{'cgi.file'} 2> /dev/null |");
while (