[LON-CAPA-cvs] cvs: loncom / lond
raeburn
raeburn@source.lon-capa.org
Thu, 20 May 2010 18:09:19 -0000
raeburn Thu May 20 18:09:19 2010 EDT
Modified files:
/loncom lond
Log:
- roles.db files are different as the keys within are not escaped.
Index: loncom/lond
diff -u loncom/lond:1.439 loncom/lond:1.440
--- loncom/lond:1.439 Mon Apr 12 19:15:57 2010
+++ loncom/lond Thu May 20 18:09:19 2010
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.439 2010/04/12 19:15:57 raeburn Exp $
+# $Id: lond,v 1.440 2010/05/20 18:09:19 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -58,7 +58,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.439 $'; #' stupid emacs
+my $VERSION='$Revision: 1.440 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid="default";
my $currentdomainid;
@@ -975,6 +975,9 @@
&GDBM_READER());
if ($hashref) {
my @queries=split(/\&/,$what);
+ if ($namespace eq 'roles') {
+ @queries = map { &unescape($_); } @queries;
+ }
my $qresult='';
for (my $i=0;$i<=$#queries;$i++) {