--- loncom/auth/lonauth.pm 2014/12/05 12:03:20 1.136 +++ loncom/auth/lonauth.pm 2015/01/26 22:11:52 1.137 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.136 2014/12/05 12:03:20 kruse Exp $ +# $Id: lonauth.pm,v 1.137 2015/01/26 22:11:52 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -103,9 +103,7 @@ sub success { if ($destsymb =~ /___/) { # FIXME Need to deal with encrypted symbs and urls as needed. my ($map,$resid,$desturl)=split(/___/,$destsymb); - unless ($desturl=~/^(adm|editupload|public)/) { - $desturl = &Apache::lonnet::clutter($desturl); - } + $desturl = &Apache::lonnet::clutter($desturl); $desturl = &HTML::Entities::encode($desturl,'"<>&'); $destsymb = &HTML::Entities::encode($destsymb,'"<>&'); $destination .= 'destinationurl='.$desturl.