diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-06-24 07:13:04 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-06-26 00:32:34 +0300 |
commit | a1fc087234a7a035e1339c6b7f42b5342d970f4a (patch) | |
tree | d5db37fbdafb404392f2e20ce28686d53118ca78 /plugins/Login/Controller.php | |
parent | c2dd00106a0230c5e5667cb5ce7667b6bcc39ac9 (diff) |
Make sure to escape error messages
Diffstat (limited to 'plugins/Login/Controller.php')
-rw-r--r-- | plugins/Login/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Login/Controller.php b/plugins/Login/Controller.php index 287d0202d9..454a0d6796 100644 --- a/plugins/Login/Controller.php +++ b/plugins/Login/Controller.php @@ -175,7 +175,7 @@ class Controller extends \Piwik\Plugin\Controller <p><a href="%s">%s</a></p> </div>', Piwik::translate('General_Error'), - $errorMessage, + htmlentities($errorMessage, Common::HTML_ENCODING_QUOTE_STYLE, 'UTF-8', $doubleEncode = false), 'index.php?module=Login', Piwik::translate('Login_LogIn') ); |