--- rat/lonuserstate.pm 2004/10/26 23:00:11 1.81 +++ rat/lonuserstate.pm 2004/12/06 21:41:01 1.83 @@ -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.81 2004/10/26 23:00:11 albertel Exp $ +# $Id: lonuserstate.pm,v 1.83 2004/12/06 21:41:01 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -150,10 +150,11 @@ sub loadmap { $hash{'version_'.$turi}=$1; } } + my $title=$token->[2]->{'title'}; + $title=~s/\&colon\;/\:/gs; &Apache::lonnet::do_cache(\%Apache::lonnet::titlecache, &Apache::lonnet::encode_symb($uri,$token->[2]->{'id'}, - $turi), - $token->[2]->{'title'},'title'); + $turi),$title,'title'); unless ($ispage) { $turi=~/\.(\w+)$/; my $embstyle=&Apache::loncommon::fileembstyle($1); @@ -580,7 +581,8 @@ sub readmap { } # ---------------------------------------------------------------- Encrypt URLs foreach (keys %encurl) { - $hash{'src_'.$_}=&Apache::lonenc::encrypted($hash{'src_'.$_}); +# $hash{'src_'.$_}=&Apache::lonenc::encrypted($hash{'src_'.$_}); + $hash{'encrypted_'.$_}=1; } # ----------------------------------------------- Close hashes to finally store # --------------------------------- Routine must pass this point, no early outs