--- rat/lonuserstate.pm 2005/09/23 21:39:09 1.96 +++ rat/lonuserstate.pm 2005/11/09 11:39:57 1.97 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construct and maintain state and binary representation of course for user # -# $Id: lonuserstate.pm,v 1.96 2005/09/23 21:39:09 albertel Exp $ +# $Id: lonuserstate.pm,v 1.97 2005/11/09 11:39:57 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -165,7 +165,10 @@ sub loadmap { if ($token->[2]->{'external'} eq 'true') { # external $turi=~s/^http\:\/\//\/adm\/wrapper\/ext\//; } elsif ($turi=~/^\/*uploaded\//) { # uploaded - if (($embstyle eq 'img') || ($embstyle eq 'emb')) { + if (($embstyle eq 'img') + || ($embstyle eq 'emb') + || ($embstyle eq 'ign') + || ($embstyle eq 'unk')) { $turi='/adm/wrapper'.$turi; } elsif ($embstyle eq 'ssi') { #do nothing with these