diff options
author | friendica <info@friendica.com> | 2014-06-02 19:05:24 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-02 19:05:24 -0700 |
commit | 49abe9d3344c6acdc808f0459ec7ec476560cd65 (patch) | |
tree | 984e2e5c5f9e3c30260935fc96389003e83cd4c4 /mod | |
parent | c886d6e7074a0996dc75fba3a0c13f18d53986a0 (diff) | |
download | volse-hubzilla-49abe9d3344c6acdc808f0459ec7ec476560cd65.tar.gz volse-hubzilla-49abe9d3344c6acdc808f0459ec7ec476560cd65.tar.bz2 volse-hubzilla-49abe9d3344c6acdc808f0459ec7ec476560cd65.zip |
issue #479 - tag escaping not needed here.
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/setup.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mod/setup.php b/mod/setup.php index 0832068f8..69e026056 100755 --- a/mod/setup.php +++ b/mod/setup.php @@ -45,14 +45,14 @@ function setup_post(&$a) { break; // just in case return don't return :) case 3: $urlpath = $a->get_path(); - $dbhost = notags(trim($_POST['dbhost'])); - $dbport = intval(notags(trim($_POST['dbport']))); - $dbuser = notags(trim($_POST['dbuser'])); - $dbpass = notags(trim($_POST['dbpass'])); - $dbdata = notags(trim($_POST['dbdata'])); - $phpath = notags(trim($_POST['phpath'])); - $adminmail = notags(trim($_POST['adminmail'])); - $siteurl = notags(trim($_POST['siteurl'])); + $dbhost = trim($_POST['dbhost']); + $dbport = intval(trim($_POST['dbport'])); + $dbuser = trim($_POST['dbuser']); + $dbpass = trim($_POST['dbpass']); + $dbdata = trim($_POST['dbdata']); + $phpath = trim($_POST['phpath']); + $adminmail = trim($_POST['adminmail']); + $siteurl = trim($_POST['siteurl']); require_once('include/dba/dba_driver.php'); unset($db); |