Skip to content

Instantly share code, notes, and snippets.

@mbrodala
Last active May 27, 2016 09:35
Show Gist options
  • Save mbrodala/1f8fa0e76846db53b5a1ab06ef90e9a4 to your computer and use it in GitHub Desktop.
Save mbrodala/1f8fa0e76846db53b5a1ab06ef90e9a4 to your computer and use it in GitHub Desktop.
--- a/Classes/View/Tx_Formhandler_View_Form.php 2015-08-08 13:24:22.000000000 +0200
+++ b/Classes/View/Tx_Formhandler_View_Form.php 2016-05-27 11:34:22.711437300 +0200
@@ -526,7 +526,7 @@
}
if($this->gp['formToken']) {
$markers['###HIDDEN_FIELDS###'] .= '
- <input type="hidden" name="' . $name . '" value="' . $this->gp['formToken'] . '" />
+ <input type="hidden" name="' . $name . '" value="' . htmlspecialchars($this->gp['formToken']) . '" />
';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment