diff options
author | deva <deva> | 2008-12-01 10:15:51 +0000 |
---|---|---|
committer | deva <deva> | 2008-12-01 10:15:51 +0000 |
commit | acdf23fd17be67d0b20eac89cd4d88669885f1d7 (patch) | |
tree | 12af4c11d375aad253254eae4d0a652e13556705 /forum/utils/addressbook.php | |
parent | 21c12bfb323d5b078eb70c20be8ea18be081a936 (diff) |
Fixed escaping problem on posting of new and edited contacts.
Diffstat (limited to 'forum/utils/addressbook.php')
-rw-r--r-- | forum/utils/addressbook.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/forum/utils/addressbook.php b/forum/utils/addressbook.php index fb34156..20548ce 100644 --- a/forum/utils/addressbook.php +++ b/forum/utils/addressbook.php @@ -41,6 +41,19 @@ function form($cid, } +$name = stripslashes($name); +$co = stripslashes($co); +$address = stripslashes($address); +$city = stripslashes($city); +$country = stripslashes($country); +$phone = stripslashes($phone); +$phone2 = stripslashes($phone2); +$email = stripslashes($email); +$email2 = stripslashes($email2); +$url = stripslashes($url); +$url2 = stripslashes($url2); +$notes = stripslashes($notes); + $contacts = new Contacts($DATA_DIR . "/contacts.xml"); if($action == "addgroup" && $gid) { |