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

www lon-capa-cvs@mail.lon-capa.org
Fri, 15 Aug 2003 14:14:43 -0000


www		Fri Aug 15 10:14:43 2003 EDT

  Modified files:              
    /rat	lonpageflip.pm 
  Log:
  Along the lines of Bug #2049: $ENV{'form.postdata'} gets its data from a
  piece of JavaScript, which also picks up the raw URLs.
  
  
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.38 rat/lonpageflip.pm:1.39
--- rat/lonpageflip.pm:1.38	Sat Apr 12 12:03:16 2003
+++ rat/lonpageflip.pm	Fri Aug 15 10:14:43 2003
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.38 2003/04/12 16:03:16 www Exp $
+# $Id: lonpageflip.pm,v 1.39 2003/08/15 14:14:43 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -189,7 +189,7 @@
   if (($ENV{'form.postdata'})&&($ENV{'request.course.fn'})) {
       $ENV{'form.postdata'}=~/(\w+)\:(.*)/;
       my $direction=$1;
-      my $currenturl=$2;
+      my $currenturl=&Apache::lonnet::unescape($2);
       if ($direction eq 'return') {
 # -------------------------------------------------------- Return to last known
          my $last;