[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /auth lonauth.pm
raeburn
raeburn at source.lon-capa.org
Mon Jan 26 17:25:41 EST 2015
raeburn Mon Jan 26 22:25:41 2015 EDT
Modified files: (Branch: version_2_11_X)
/loncom/auth lonauth.pm
Log:
- For 2.11
- Backport 1.137
Index: loncom/auth/lonauth.pm
diff -u loncom/auth/lonauth.pm:1.121.2.12 loncom/auth/lonauth.pm:1.121.2.13
--- loncom/auth/lonauth.pm:1.121.2.12 Sat Oct 4 13:21:48 2014
+++ loncom/auth/lonauth.pm Mon Jan 26 22:25:41 2015
@@ -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 @@
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.
More information about the LON-CAPA-cvs
mailing list