X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Flocal.config.tpl;h=24b33b8cd410541f99dc676c019ef7014a96c093;hb=c7811576ccb07d760197bc31ee8b49aedcdb62ca;hp=ad809c9d85a10b017329f563c342df90c39e38b3;hpb=0c56e75b896cd7015271f33894b50d5dbfb0793c;p=friendica.git diff --git a/view/templates/local.config.tpl b/view/templates/local.config.tpl index ad809c9d85..24b33b8cd4 100644 --- a/view/templates/local.config.tpl +++ b/view/templates/local.config.tpl @@ -7,10 +7,10 @@ return [ 'database' => [ - 'hostname' => '{{$dbhost}}', - 'username' => '{{$dbuser}}', - 'password' => '{{$dbpass}}', - 'database' => '{{$dbdata}}', + 'hostname' => '{{$dbhost|escape:'quotes' nofilter}}', + 'username' => '{{$dbuser|escape:'quotes' nofilter}}', + 'password' => '{{$dbpass|escape:'quotes' nofilter}}', + 'database' => '{{$dbdata|escape:'quotes' nofilter}}', 'charset' => 'utf8mb4', ], @@ -21,19 +21,19 @@ return [ // **************************************************************** 'config' => [ - 'php_path' => '{{$phpath}}', - 'admin_email' => '{{$adminmail}}', + 'php_path' => '{{$phpath|escape:'quotes' nofilter}}', + 'admin_email' => '{{$adminmail|escape:'quotes' nofilter}}', 'sitename' => 'Friendica Social Network', - 'hostname' => '{{$hostname}}', + 'hostname' => '{{$hostname|escape:'quotes' nofilter}}', 'register_policy' => \Friendica\Module\Register::OPEN, 'max_import_size' => 200000, ], 'system' => [ - 'urlpath' => '{{$urlpath}}', - 'url' => '{{$baseurl}}', - 'ssl_policy' => {{$sslpolicy}}, - 'basepath' => '{{$basepath}}', - 'default_timezone' => '{{$timezone}}', - 'language' => '{{$language}}', + 'urlpath' => '{{$urlpath|escape:'quotes' nofilter}}', + 'url' => '{{$baseurl|escape:'quotes' nofilter}}', + 'ssl_policy' => {{$sslpolicy|escape:'quotes' nofilter}}, + 'basepath' => '{{$basepath|escape:'quotes' nofilter}}', + 'default_timezone' => '{{$timezone|escape:'quotes' nofilter}}', + 'language' => '{{$language|escape:'quotes' nofilter}}', ], ];