summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornashe <thomas@chauchefoin.fr>2017-07-05 22:16:12 +0200
committernashe <thomas@chauchefoin.fr>2017-07-05 22:16:12 +0200
commit812f73a4cabd325f5bc01718fe7679dbdb58ea25 (patch)
tree1bf1b170b868dada476c45a9848dd9f091eead2f
parent3c27f3c36ca6874b4939f3b3f1b9e4b57314072f (diff)
downloadplanet-812f73a4cabd325f5bc01718fe7679dbdb58ea25.tar
planet-812f73a4cabd325f5bc01718fe7679dbdb58ea25.tar.gz
planet-812f73a4cabd325f5bc01718fe7679dbdb58ea25.tar.bz2
planet-812f73a4cabd325f5bc01718fe7679dbdb58ea25.tar.xz
planet-812f73a4cabd325f5bc01718fe7679dbdb58ea25.zip
Do not encode website's URL in the config.yml
-rwxr-xr-xinstall.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index 9f627ae..d1a8ba5 100755
--- a/install.php
+++ b/install.php
@@ -16,7 +16,7 @@ if (file_exists(dirname(__FILE__) . '/custom/config.yml') && isset($login) && is
$save = array();
//Save config file
$config = array(
- 'url' => filter_var($_REQUEST['url'], FILTER_SANITIZE_ENCODED),
+ 'url' => $_REQUEST['url'],
'name' => filter_var($_REQUEST['title'], FILTER_SANITIZE_SPECIAL_CHARS),
'locale' => filter_var($_REQUEST['locale'], FILTER_SANITIZE_SPECIAL_CHARS),
'items' => 10,