aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-10 16:47:10 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-10 16:47:10 -0700
commit79725b28cf8cdcf97eaf61b2e1c23529f7a6e527 (patch)
tree09491cd08ed818b7ded391434c28aed2eacc8bf3 /boot.php
parente3b86cc583c693071a9fda462f2145b7a5d55400 (diff)
downloadvolse-hubzilla-79725b28cf8cdcf97eaf61b2e1c23529f7a6e527.tar.gz
volse-hubzilla-79725b28cf8cdcf97eaf61b2e1c23529f7a6e527.tar.bz2
volse-hubzilla-79725b28cf8cdcf97eaf61b2e1c23529f7a6e527.zip
profile extra fields, profile deletion
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 9dce8689e..2b608760c 100644
--- a/boot.php
+++ b/boot.php
@@ -190,7 +190,9 @@ function notags($string) {
// The PHP built-in tag escape function has traditionally been buggy
if(! function_exists('escape_tags')) {
function escape_tags($string) {
- return(str_replace(array("<",">","&"), array('&lt;','&gt;','&amp;'), $string));
+ return(str_replace(
+ array('&', '"', "'", '<', '>'),
+ array('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $string));
}}
if(! function_exists('login')) {