[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
raeburn
raeburn@source.lon-capa.org
Thu, 22 Oct 2009 03:04:22 -0000
raeburn Thu Oct 22 03:04:22 2009 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
- Remove some code added in 1.306 which was made redundant by changes in 1.349.
- Eliminate side effect which was to truncate URLs containing a ?
in the query string (occasionally seen in external resources).
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.435 loncom/interface/lonnavmaps.pm:1.436
--- loncom/interface/lonnavmaps.pm:1.435 Sat Aug 15 18:43:52 2009
+++ loncom/interface/lonnavmaps.pm Thu Oct 22 03:04:21 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.435 2009/08/15 18:43:52 raeburn Exp $
+# $Id: lonnavmaps.pm,v 1.436 2009/10/22 03:04:21 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -880,11 +880,6 @@
my $link = $params->{"resourceLink"};
# The URL part is not escaped at this point, but the symb is...
- # The stuff to the left of the ? must have ' replaced by \' since
- # it will be quoted with ' in the href.
-
- my ($left,$right) = split(/\?/, $link);
- $link = $left.'?'.$right;
my $src = $resource->src();
my $it = $params->{"iterator"};