diff options
author | Matthieu Aubry <matt@piwik.org> | 2014-09-30 05:33:01 +0400 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2014-09-30 05:33:01 +0400 |
commit | 0acf447a16d8b667d0f370b02448fa361380b26c (patch) | |
tree | d888e3673bb550a456d947206960fdadbd9aa360 /plugins/Installation/Controller.php | |
parent | 3a43da006aa18f801ab8677658b981d3a4afe332 (diff) |
Properly encode website name in installer so website selector displays correct names
Diffstat (limited to 'plugins/Installation/Controller.php')
-rw-r--r-- | plugins/Installation/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php index d3da5402f0..8d93d38dda 100644 --- a/plugins/Installation/Controller.php +++ b/plugins/Installation/Controller.php @@ -317,7 +317,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin $form = new FormFirstWebsiteSetup(); if ($form->validate()) { - $name = Common::unsanitizeInputValue($form->getSubmitValue('siteName')); + $name = Common::sanitizeInputValue($form->getSubmitValue('siteName')); $url = Common::unsanitizeInputValue($form->getSubmitValue('url')); $ecommerce = (int)$form->getSubmitValue('ecommerce'); |