[LON-CAPA-cvs] cvs: loncom /cgi decompress.pl

bisitz bisitz at source.lon-capa.org
Tue Nov 27 06:33:17 EST 2012


bisitz		Tue Nov 27 11:33:17 2012 EDT

  Modified files:              
    /loncom/cgi	decompress.pl 
  Log:
  Corrected typo in rev 1.18 to allow again file decompression in CSTR
  
  
Index: loncom/cgi/decompress.pl
diff -u loncom/cgi/decompress.pl:1.18 loncom/cgi/decompress.pl:1.19
--- loncom/cgi/decompress.pl:1.18	Thu Apr 19 02:13:00 2012
+++ loncom/cgi/decompress.pl	Tue Nov 27 11:33:17 2012
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: decompress.pl,v 1.18 2012/04/19 02:13:00 raeburn Exp $
+# $Id: decompress.pl,v 1.19 2012/11/27 11:33:17 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -72,7 +72,7 @@
     } else {
         my $londocroot = $Apache::lonnet::perlvar{'lonDocRoot'};
         my $lonuserroot = $Apache::lonnet::perlvar{'lonUsersDir'};
-        if (($dir !~ /^\Qlondocroot\E/) && ($dir !~ /^\Q$lonuserroot\E/)) {
+        if (($dir !~ /^\Q$londocroot\E/) && ($dir !~ /^\Q$lonuserroot\E/)) {
             print('<html><body><span class="LC_error">'.$lt{'extf'}.'<br />'."\n".
                   &Apache::lonlocal::mt('The specified directory "[_1]" is invalid',$dir).
                   '</span></body></html>');




More information about the LON-CAPA-cvs mailing list