Diff for /loncom/interface/loncommon.pm between versions 1.1157 and 1.1158

version 1.1157, 2013/09/29 00:49:28 version 1.1158, 2013/11/16 19:56:02
Line 9876  sub ask_for_embedded_content { Line 9876  sub ask_for_embedded_content {
         } else {          } else {
             $embed_file = $file;              $embed_file = $file;
         }          }
         my $absolutepath;          my ($absolutepath,$cleaned_file);
         my $cleaned_file = &clean_path($embed_file);          if ($embed_file =~ m{^\w+://}) {
         if ($cleaned_file =~ m{^\w+://}) {              $cleaned_file = $embed_file;
             $newfiles{$cleaned_file} = 1;              $newfiles{$cleaned_file} = 1;
             $mapping{$cleaned_file} = $embed_file;              $mapping{$cleaned_file} = $embed_file;
         } else {          } else {
               $cleaned_file = &clean_path($embed_file);
             if ($embed_file =~ m{^/}) {              if ($embed_file =~ m{^/}) {
                 $absolutepath = $embed_file;                  $absolutepath = $embed_file;
             }              }

Removed from v.1.1157  
changed lines
  Added in v.1.1158


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