Skip to content

Commit

Permalink
Possible XSS vulnerability #4 reprted by Andy
Browse files Browse the repository at this point in the history
Possible XSS vulnerability #4 solved according Andy's proposal
  • Loading branch information
Taggic committed Mar 17, 2016
1 parent d8a847d commit 6052428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin.php
Expand Up @@ -113,7 +113,7 @@ function _html_form(){
echo '<div class="box">'.$conf['lang'].'</div>'.NL;

echo '<label class="formTitle" for="langdelete_w">'.$this->getLang('i_shouldkeep').':</label>';
echo '<input type="text" name="langdelete_w" class="edit" value="'.$_REQUEST['langdelete_w'].'" />'.NL;
echo '<input type="text" name="langdelete_w" class="edit" value="'.hsc($_REQUEST['langdelete_w']).'" />'.NL;

echo '<label class="formTitle" for="option">'.$this->getLang('i_runoption').':</label>';
echo '<div class="box">'.NL;
Expand Down

0 comments on commit 6052428

Please sign in to comment.