Permalink
Browse files

fix for MDL-13173: quotes in HotPot activity name

  • Loading branch information...
1 parent 70c7e67 commit 79c57d1b9945b9a869500f4dff824c9b98fbcd74 gbateson committed Jan 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/mod.html
View
@@ -75,7 +75,7 @@
print '<input type="hidden" name="namesource" value="'.HOTPOT_TEXTSOURCE_SPECIFIC.'">';
}
print '<span id="nameSPAN">';
- print '<input type="text" name="name" size=40 value="'.$form->name.'">';
+ print '<input type="text" name="name" size="40" value="'.htmlspecialchars($form->name).'" />';
print '</span>';
?></td>
</tr>

0 comments on commit 79c57d1

Please sign in to comment.