Skip to content

Commit

Permalink
fixed xss bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pjkui committed Mar 16, 2016
1 parent f7316b7 commit 09c4b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa-open-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static function printCode($provider, $tourl, $context, $action = 'login', $print

$url = qa_path('login', $params, qa_path_to_root());
if(strlen($tourl) > 0) {
$url .= '&to=' . $tourl; // play nice with validators
$url .= '&to=' . htmlspecialchars($tourl); // play nice with validators
}
$classes = "$context action-login $zocial $css";
$title = qa_lang_html_sub('plugin_open/login_using', $provider);
Expand Down

0 comments on commit 09c4b6c

Please sign in to comment.