[LON-CAPA-cvs] cvs: loncom /auth lonauth.pm
raeburn
raeburn at source.lon-capa.org
Tue Dec 18 15:52:18 EST 2012
raeburn Tue Dec 18 20:52:18 2012 EDT
Modified files:
/loncom/auth lonauth.pm
Log:
- URLs beginning uploaded/ need to begin /uploaded/ when used as destinationurl.
Index: loncom/auth/lonauth.pm
diff -u loncom/auth/lonauth.pm:1.123 loncom/auth/lonauth.pm:1.124
--- loncom/auth/lonauth.pm:1.123 Mon Aug 27 02:02:20 2012
+++ loncom/auth/lonauth.pm Tue Dec 18 20:52:18 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network
# User Authentication Module
#
-# $Id: lonauth.pm,v 1.123 2012/08/27 02:02:20 raeburn Exp $
+# $Id: lonauth.pm,v 1.124 2012/12/18 20:52:18 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -103,7 +103,7 @@
if ($destsymb =~ /___/) {
# FIXME Need to deal with encrypted symbs and urls as needed.
my ($map,$resid,$desturl)=split(/___/,$destsymb);
- unless ($desturl=~/^(adm|uploaded|editupload|public)/) {
+ unless ($desturl=~/^(adm|editupload|public)/) {
$desturl = &Apache::lonnet::clutter($desturl);
}
$desturl = &HTML::Entities::encode($desturl,'"<>&');
More information about the LON-CAPA-cvs
mailing list