[LON-CAPA-cvs] cvs: loncom / lond

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 09 Dec 2005 21:17:21 -0000


albertel		Fri Dec  9 16:17:21 2005 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - stressing the double escape
  
  
  
Index: loncom/lond
diff -u loncom/lond:1.302 loncom/lond:1.303
--- loncom/lond:1.302	Fri Dec  9 15:54:23 2005
+++ loncom/lond	Fri Dec  9 16:17:16 2005
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.302 2005/12/09 20:54:23 raeburn Exp $
+# $Id: lond,v 1.303 2005/12/09 21:17:16 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.302 $'; #' stupid emacs
+my $VERSION='$Revision: 1.303 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -3594,8 +3594,8 @@
     if ($hashref) {
         while (my ($key,$value) = each(%$hashref)) {
             my $match = 1;
-            $key = &unescape($key);
-            my ($timestamp,$subj,$uname,$udom) = split(/:/,&unescape($key),5);
+            my ($timestamp,$subj,$uname,$udom) = 
+		split(/:/,&unescape(&unescape($key)),5); # yes, twice really
             $timestamp = &unescape($timestamp);
             $subj = &unescape($subj);
             $uname = &unescape($uname);