--- loncom/auth/lonauth.pm 2014/10/04 13:21:48 1.121.2.12 +++ loncom/auth/lonauth.pm 2015/01/26 22:25:41 1.121.2.13 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.121.2.12 2014/10/04 13:21:48 raeburn Exp $ +# $Id: lonauth.pm,v 1.121.2.13 2015/01/26 22:25:41 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.