Skip to content

Commit

Permalink
Fixed potential xss vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeho committed Jul 18, 2011
1 parent bcf879c commit 14c71c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/qcodo/_core/qform/QFormBase.class.php
Expand Up @@ -908,7 +908,7 @@ protected function RenderBegin($blnDisplayOutput = true) {
$strFormAttributes .= ' class="' . $this->strCssClass . '"';

// Setup Rendered HTML
$strToReturn .= sprintf('<form method="post" id="%s" action="%s"%s>', $this->strFormId, QApplication::$RequestUri, $strFormAttributes);
$strToReturn .= sprintf('<form method="post" id="%s" action="%s"%s>', $this->strFormId, QApplication::HtmlEntities(QApplication::$RequestUri), $strFormAttributes);
$strToReturn .= "\r\n";

// Include javascripts that need to be included
Expand Down

0 comments on commit 14c71c0

Please sign in to comment.