[LON-CAPA-cvs] cvs: loncom / lontrans.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 17 Aug 2006 20:22:15 -0000
albertel Thu Aug 17 16:22:15 2006 EDT
Modified files:
/loncom lontrans.pm
Log:
- ugh, ugly ass workaround for BUG#4948
Index: loncom/lontrans.pm
diff -u loncom/lontrans.pm:1.11 loncom/lontrans.pm:1.12
--- loncom/lontrans.pm:1.11 Tue May 30 08:45:12 2006
+++ loncom/lontrans.pm Thu Aug 17 16:22:11 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# URL translation for User Files
#
-# $Id: lontrans.pm,v 1.11 2006/05/30 12:45:12 www Exp $
+# $Id: lontrans.pm,v 1.12 2006/08/17 20:22:11 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -38,6 +38,8 @@
sub handler {
my $r = shift;
+ # FIXME line remove when mod_perl fixes BUG#4948
+ $r->notes->set('error-notes' => '');
if ($r->uri=~m|^(/raw)?/uploaded/|) {
my $fn = $r->uri();
$fn=~s/^\/raw//;