Permalink
Browse files

fix for MDL-13173: quotes in HotPot activity name

  • Loading branch information...
1 parent 14c5382 commit c447099bda5b716ad4d8f5771fc1b3f7d5c3becf gbateson committed Jan 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/mod.html
View
@@ -77,7 +77,7 @@
} else {
print '<input type="hidden" name="namesource" value="'.HOTPOT_TEXTSOURCE_SPECIFIC.'" />';
}
- print '<input type="text" name="name" size="40" value="'.$form->name.'" />';
+ print '<input type="text" name="name" size="40" value="'.htmlspecialchars($form->name).'" />';
?></td>
</tr>
<tr valign="top">

0 comments on commit c447099

Please sign in to comment.