[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /publisher lonretrieve.pm
raeburn
raeburn@source.lon-capa.org
Sun, 21 Dec 2008 04:38:43 -0000
raeburn Sun Dec 21 04:38:43 2008 EDT
Modified files: (Branch: version_2_8_X)
/loncom/publisher lonretrieve.pm
Log:
- Backport 1.37.
Index: loncom/publisher/lonretrieve.pm
diff -u loncom/publisher/lonretrieve.pm:1.34.2.1 loncom/publisher/lonretrieve.pm:1.34.2.2
--- loncom/publisher/lonretrieve.pm:1.34.2.1 Fri Dec 12 03:57:12 2008
+++ loncom/publisher/lonretrieve.pm Sun Dec 21 04:38:43 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to retrieve an old version of a file
#
-# $Id: lonretrieve.pm,v 1.34.2.1 2008/12/12 03:57:12 raeburn Exp $
+# $Id: lonretrieve.pm,v 1.34.2.2 2008/12/21 04:38:43 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -223,7 +223,7 @@
if ($env{'form.filename'}) {
$fn=$env{'form.filename'};
- $fn=~s/^http\:\/\/[^\/]+//;
+ $fn=~s/^https?\:\/\/[^\/]+//;
} else {
$r->log_reason($env{'user.name'}.' at '.$env{'user.domain'}.
' unspecified filename for retrieval', $r->filename);