[LON-CAPA-cvs] cvs: rat(version_2_8_X) / lonuserstate.pm
raeburn
raeburn@source.lon-capa.org
Sun, 21 Dec 2008 04:46:53 -0000
raeburn Sun Dec 21 04:46:53 2008 EDT
Modified files: (Branch: version_2_8_X)
/rat lonuserstate.pm
Log:
- Backport 1.130.
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.128 rat/lonuserstate.pm:1.128.2.1
--- rat/lonuserstate.pm:1.128 Wed Mar 12 02:45:50 2008
+++ rat/lonuserstate.pm Sun Dec 21 04:46:53 2008
@@ -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.128 2008/03/12 02:45:50 raeburn Exp $
+# $Id: lonuserstate.pm,v 1.128.2.1 2008/12/21 04:46:53 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -247,7 +247,7 @@
$turi=~/\.(\w+)$/;
my $embstyle=&Apache::loncommon::fileembstyle($1);
if ($token->[2]->{'external'} eq 'true') { # external
- $turi=~s/^http\:\/\//\/adm\/wrapper\/ext\//;
+ $turi=~s/^https?\:\/\//\/adm\/wrapper\/ext\//;
} elsif ($turi=~/^\/*uploaded\//) { # uploaded
if (($embstyle eq 'img')
|| ($embstyle eq 'emb')