[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
raeburn
raeburn@source.lon-capa.org
Wed, 10 Feb 2010 20:17:44 -0000
raeburn Wed Feb 10 20:17:44 2010 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- xhtml.
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.463 loncom/homework/structuretags.pm:1.464
--- loncom/homework/structuretags.pm:1.463 Mon Dec 7 11:46:33 2009
+++ loncom/homework/structuretags.pm Wed Feb 10 20:17:44 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.463 2009/12/07 11:46:33 foxr Exp $
+# $Id: structuretags.pm,v 1.464 2010/02/10 20:17:44 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -275,6 +275,7 @@
$form_tag_start='<form name="lonhomework" enctype="multipart/form-data" method="post" action="';
my $uri = Apache::loncommon::inhibit_menu_check(
&Apache::lonenc::check_encrypt($env{'request.uri'}));
+ $uri = &HTML::Entities::encode($uri,'<>&"');
$form_tag_start.=$uri.'" ';
if ($target eq 'edit') {
$form_tag_start.=&Apache::edit::form_change_detection();