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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 07 Feb 2003 22:53:14 -0000


albertel		Fri Feb  7 17:53:14 2003 EDT

  Modified files:              
    /rat	lonwrapper.pm 
  Log:
  - reappend query args to wrapped webpage
  
  
Index: rat/lonwrapper.pm
diff -u rat/lonwrapper.pm:1.6 rat/lonwrapper.pm:1.7
--- rat/lonwrapper.pm:1.6	Mon Jan 20 12:03:25 2003
+++ rat/lonwrapper.pm	Fri Feb  7 17:53:13 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Wrapper for external and binary files as standalone resources
 #
-# $Id: lonwrapper.pm,v 1.6 2003/01/20 17:03:25 www Exp $
+# $Id: lonwrapper.pm,v 1.7 2003/02/07 22:53:13 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -55,6 +55,7 @@
   if ($url=~/^\/uploaded\//) {
       $url=&Apache::lonnet::tokenwrapper($url);
   }
+  $url.='?'.$ENV{'QUERY_STRING'}; #reappend the query arguments
   my $events='onLoad="'.&Apache::lonxml::loadevents.
            '" onUnload="'.&Apache::lonxml::unloadevents.'"';
   my $script=&Apache::lonxml::registerurl(1,undef);