--- loncom/interface/londocs.pm 2007/06/29 23:25:30 1.281 +++ loncom/interface/londocs.pm 2007/07/02 23:43:36 1.282 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.281 2007/06/29 23:25:30 albertel Exp $ +# $Id: londocs.pm,v 1.282 2007/07/02 23:43:36 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -379,7 +379,7 @@ sub exportcourse { } $display .= ' />'."\n"; for (my $i=0; $i<$depth; $i++) { - $display .= ''."\n"; + $display .= ''."\n"; } if ($curRes->is_sequence()) { $display .= ' '."\n"; @@ -1577,7 +1577,7 @@ sub process_file_upload { if ($total_embedded > 0) { my $num = 0; my $state = ' - + @@ -1720,12 +1720,14 @@ sub entryline { if ($env{'form.folderpath'}) { $type = 'folder'; $container = 'sequence'; - $esc_path=&escape($path = $env{'form.folderpath'}); + $esc_path=&escape($env{'form.folderpath'}); + $path = &HTML::Entities::encode($env{'form.folderpath'},'<>&"'); # $htmlfoldername=&HTML::Entities::encode($env{'form.foldername'},'<>&"'); } if ($env{'form.pagepath'}) { $type = $container = 'page'; $esc_path=&escape($path = $env{'form.pagepath'}); + $path = &HTML::Entities::encode($env{'form.pagepath'},'<>&"'); $symb=&escape($env{'form.pagesymb'}); } my $cpinfo=''; @@ -1799,12 +1801,12 @@ ENDCUT
- + |
- + |