Diff for /rat/lonwrapper.pm between versions 1.80 and 1.81

version 1.80, 2022/10/27 21:35:30 version 1.81, 2022/10/29 18:52:58
Line 484  sub handler { Line 484  sub handler {
                     $title = &mt('External Tool');                      $title = &mt('External Tool');
                 }                  }
             }              }
               $title = &HTML::Entities::encode($title,'\'"<>&');
             $is_supp = 1;              $is_supp = 1;
             if ($env{'request.course.id'}) {              if ($env{'request.course.id'}) {
                 $cnum = $env{'course.'.$env{'request.course.id'}.'.num'};                  $cnum = $env{'course.'.$env{'request.course.id'}.'.num'};
Line 506  sub handler { Line 507  sub handler {
                 &Apache::loncommon::validate_folderpath(1,'',$cnum,$cdom);                  &Apache::loncommon::validate_folderpath(1,'',$cnum,$cdom);
             }              }
             my $title = $env{'form.title'};              my $title = $env{'form.title'};
               $title = &HTML::Entities::encode($title,'\'"<>&');
             my $crstype = &Apache::loncommon::course_type();              my $crstype = &Apache::loncommon::course_type();
             $brcrum =              $brcrum =
                 &Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1);                  &Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1);

Removed from v.1.80  
changed lines
  Added in v.1.81


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>