[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 10 Jun 2004 22:15:53 -0000


albertel		Thu Jun 10 18:15:53 2004 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - public is a synonym for res so don't put res in front of it (BUG#3076)
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.508 loncom/lonnet/perl/lonnet.pm:1.509
--- loncom/lonnet/perl/lonnet.pm:1.508	Wed Jun  9 13:01:56 2004
+++ loncom/lonnet/perl/lonnet.pm	Thu Jun 10 18:15:53 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.508 2004/06/09 17:01:56 raeburn Exp $
+# $Id: lonnet.pm,v 1.509 2004/06/10 22:15:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4976,7 +4976,7 @@
 
 sub clutter {
     my $thisfn='/'.&declutter(shift);
-    unless ($thisfn=~/^\/(uploaded|adm|userfiles|ext|raw|priv)\//) { 
+    unless ($thisfn=~/^\/(uploaded|adm|userfiles|ext|raw|priv|public)\//) { 
        $thisfn='/res'.$thisfn; 
     }
     return $thisfn;