diff options
author | friendica <info@friendica.com> | 2013-12-11 23:13:36 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-11 23:13:36 -0800 |
commit | b3fe221b7fe9c6ecc151d9c00f36d3913526f6a3 (patch) | |
tree | 2f074601c98f8403ba5b6db2a4b76b552ddfa8aa /mod/setup.php | |
parent | 18f0ab2605790f616ffd9b7a988e8dbdb10a0157 (diff) | |
download | volse-hubzilla-b3fe221b7fe9c6ecc151d9c00f36d3913526f6a3.tar.gz volse-hubzilla-b3fe221b7fe9c6ecc151d9c00f36d3913526f6a3.tar.bz2 volse-hubzilla-b3fe221b7fe9c6ecc151d9c00f36d3913526f6a3.zip |
issue #240 - we were using htmlentities instead of htmlspecialchars in several places, and this was a bit greedy in the set of characters which were converted from utf-8 to HTML entities. Also brought mail attachments up to date so they are rendered identically to item attachments.
Diffstat (limited to 'mod/setup.php')
-rwxr-xr-x | mod/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/setup.php b/mod/setup.php index 429be43af..0198f1f09 100755 --- a/mod/setup.php +++ b/mod/setup.php @@ -543,7 +543,7 @@ function check_htaccess(&$checks) { function manual_config(&$a) { - $data = htmlentities($a->data['txt']); + $data = htmlspecialchars($a->data['txt'],ENT_COMPAT,'UTF-8'); $o = t('The database configuration file ".htconfig.php" could not be written. Please use the enclosed text to create a configuration file in your web server root.'); $o .= "<textarea rows=\"24\" cols=\"80\" >$data</textarea>"; return $o; |