[LON-CAPA-cvs] cvs: loncom /interface lonindexer.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 16 Jan 2007 21:20:58 -0000
albertel Tue Jan 16 16:20:58 2007 EDT
Modified files:
/loncom/interface lonindexer.pm
Log:
- flipping open a sequece in lonindexer didn't work correct when resource url had , in it
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.155 loncom/interface/lonindexer.pm:1.156
--- loncom/interface/lonindexer.pm:1.155 Sun Dec 10 21:12:08 2006
+++ loncom/interface/lonindexer.pm Tue Jan 16 16:20:57 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.155 2006/12/11 02:12:08 albertel Exp $
+# $Id: lonindexer.pm,v 1.156 2007/01/16 21:20:57 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -680,7 +680,7 @@
$uri=~s/\/+/\//g;
foreach (&Apache::lonsequence::attemptread(&Apache::lonnet::filelocation('',$uri))) {
my @ratpart=split(/\:/,$_);
- push @list,$ratpart[1];
+ push(@list,&LONCAPA::map::qtescape($ratpart[1]));
}
$hash{'dirlist_files_'.$luri} = join("\n",@list);
} else {
@@ -689,7 +689,7 @@
$hash{'dirlist_files_'.$luri} = join("\n",@list);
$hash{'dirlist_timestamp_files_'.$luri} = time;
}
- return @list=&match_ext($r,@list);
+ return @list=&match_ext($r,@list);
}
sub dynmetaread {