diff options
author | Sem <sembrestels@riseup.net> | 2012-10-19 09:47:11 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-10-19 09:47:11 +0200 |
commit | 80ca3d447737a679f773cbea7e788ee190abea69 (patch) | |
tree | 62bd6ec58b5fc8ad02bd529d187591659dc39b65 /mod/pages | |
parent | 9a4ed2014e9880130c1bbc52bb980e44a488bad9 (diff) | |
parent | d134beadb79fcc90a75bda8bbcbfb9987b27470c (diff) | |
download | elgg-80ca3d447737a679f773cbea7e788ee190abea69.tar.gz elgg-80ca3d447737a679f773cbea7e788ee190abea69.tar.bz2 |
Merge branch '1.8' of git://github.com/Elgg/Elgg into lorea-preprod
Diffstat (limited to 'mod/pages')
-rw-r--r-- | mod/pages/actions/pages/edit.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/pages/actions/pages/edit.php b/mod/pages/actions/pages/edit.php index a32e4a4ba..fe5754d76 100644 --- a/mod/pages/actions/pages/edit.php +++ b/mod/pages/actions/pages/edit.php @@ -8,9 +8,10 @@ $variables = elgg_get_config('pages'); $input = array(); foreach ($variables as $name => $type) { - $input[$name] = get_input($name); if ($name == 'title') { - $input[$name] = strip_tags($input[$name]); + $input[$name] = htmlspecialchars(get_input($name, '', false), ENT_QUOTES, 'UTF-8'); + } else { + $input[$name] = get_input($name); } if ($type == 'tags') { $input[$name] = string_to_tag_array($input[$name]); |