Skip to content

Commit

Permalink
Fixed issue #8292: Minor XSS vulnerability in adminstration survey list
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Oct 21, 2013
1 parent 6688320 commit ee4b502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/surveyadmin.php
Expand Up @@ -623,7 +623,7 @@ public function getSurveys_json()
'<a href="' . $this->getController()->createUrl("/admin/survey/sa/view/surveyid/" . $rows['sid']) . '">' . $rows['sid'] . '</a>';

//Set Title
$aSurveyEntry[] = '<!--' . $rows['surveyls_title'] . '--><a href="' . $this->getController()->createUrl("/admin/survey/sa/view/surveyid/" . $rows['sid']) . '" title="' . $rows['surveyls_title'] . '">' . $rows['surveyls_title'] . '</a>';
$aSurveyEntry[] = '<!--' . flattenText($rows['surveyls_title']) . '--><a href="' . $this->getController()->createUrl("/admin/survey/sa/view/surveyid/" . $rows['sid']) . '" title="' . flattenText($rows['surveyls_title']) . '">' . flattenText($rows['surveyls_title']) . '&nbsp;&nbsp;&nbsp;</a>';

//Set Date
Yii::import('application.libraries.Date_Time_Converter', true);
Expand Down

0 comments on commit ee4b502

Please sign in to comment.