--- loncom/publisher/lonpubdir.pm 2011/10/22 12:34:01 1.130
+++ loncom/publisher/lonpubdir.pm 2011/10/22 15:16:20 1.131
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.130 2011/10/22 12:34:01 www Exp $
+# $Id: lonpubdir.pm,v 1.131 2011/10/22 15:16:20 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -521,7 +521,7 @@ sub putresource {
my $title=' ';
my $publish_button=&mt('Publish');
my $cstr_dir = $r->dir_config('lonDocRoot').'/priv/'.$udom.'/'.$uname.'/'.$thisdisfn.'/';
- my $linkfilename='/priv'.$thisdisfn.'/'.$filename;
+ my $linkfilename=&HTML::Entities::encode('/priv'.$thisdisfn.'/'.$filename,'<>&"');
if (-e $resdir.'/'.$filename) {
my $same=0;
@@ -657,8 +657,8 @@ sub create_pubselect {
''.
''.
'
-
+
';
$$numres ++;