Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for MDL-13173: quotes in HotPot activity name

  • Loading branch information...
commit 5a66d54c0579a73e6f6abfdd3d99dc37fc2fb066 1 parent 58b037a
gbateson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/hotpot/mod.html
View
2  mod/hotpot/mod.html
@@ -33,7 +33,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>
Please sign in to comment.
Something went wrong with that request. Please try again.