[LON-CAPA-cvs] cvs: rat / lonuserstate.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 17 Mar 2003 18:07:09 -0000


albertel		Mon Mar 17 13:07:09 2003 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - the continuing adventures of ).problem and the server crashes he causes
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.55 rat/lonuserstate.pm:1.56
--- rat/lonuserstate.pm:1.55	Sat Mar  1 20:43:01 2003
+++ rat/lonuserstate.pm	Mon Mar 17 13:07:09 2003
@@ -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.55 2003/03/02 01:43:01 www Exp $
+# $Id: lonuserstate.pm,v 1.56 2003/03/17 18:07:09 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -389,7 +389,7 @@
             }
             if (defined($acchash{'acc.res.'.$short.'.'.$uripath})) {
                 if ($acchash{'acc.res.'.$short.'.'.$uripath}=~
-                   /(\&$urifile\:[^\&]*)/) {
+                   /(\&\Q$urifile\E\:[^\&]*)/) {
 		    my $replace=$1;
                     my $regexp=$replace;
                     $regexp=~s/\|/\\\|/g;