Diff for /loncom/interface/loncommon.pm between versions 1.1075.2.54 and 1.1075.2.55

version 1.1075.2.54, 2013/09/29 06:57:54 version 1.1075.2.55, 2013/11/20 05:11:34
Line 9861  sub ask_for_embedded_content { Line 9861  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.1075.2.54  
changed lines
  Added in v.1.1075.2.55


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