[LON-CAPA-cvs] cvs: loncom /auth lonacc.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 30 Jun 2006 02:58:38 -0000


albertel		Thu Jun 29 22:58:38 2006 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - upload group file publixc access wasn't working BUG#4881
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.81 loncom/auth/lonacc.pm:1.82
--- loncom/auth/lonacc.pm:1.81	Thu Jun 22 09:20:46 2006
+++ loncom/auth/lonacc.pm	Thu Jun 29 22:58:38 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.81 2006/06/22 13:20:46 raeburn Exp $
+# $Id: lonacc.pm,v 1.82 2006/06/30 02:58:38 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -504,7 +504,7 @@
             #FIXME need to cause generation of an intermediate page
         }
     } elsif ($requrl =~ m|/+uploaded/([^/]+)/([^/]+)/groups/([^/]+)/portfolio/(.+)$|) {
-        my $result = &portfolio_access($1,$2,$4.'/'.$3,$3);
+        my $result = &portfolio_access($1,$2,$3.'/'.$4,$3);
         if ($result eq 'ok') {
             return OK;
         } elsif ($result =~ /^guest:(\w+)$/) {