Skip to content

Commit

Permalink
Properly encode website name in installer so website selector display…
Browse files Browse the repository at this point in the history
…s correct names
  • Loading branch information
Matthieu Aubry committed Sep 30, 2014
1 parent 3a43da0 commit 0acf447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Installation/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public function firstWebsiteSetup()
$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');

Expand Down

0 comments on commit 0acf447

Please sign in to comment.