summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/uploadphoto.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-08 20:38:06 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-08 20:39:54 +0200
commit0a49bae87aecef9f6d51007fe02a5071b2f662a4 (patch)
tree6091070f2a1241312a653b7d50c2b89af2a2d35e /apps/contacts/ajax/uploadphoto.php
parent8fcdccdcdccf6e6fe43995fd08a30731aada9f4e (diff)
downloadnextcloud-server-0a49bae87aecef9f6d51007fe02a5071b2f662a4.tar.gz
nextcloud-server-0a49bae87aecef9f6d51007fe02a5071b2f662a4.zip
Contacts: Closed stupid XSS hole. Thanks AnybodyElse ;-)
Diffstat (limited to 'apps/contacts/ajax/uploadphoto.php')
-rw-r--r--apps/contacts/ajax/uploadphoto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/uploadphoto.php b/apps/contacts/ajax/uploadphoto.php
index 09c4e55d4a9..32abc6c2859 100644
--- a/apps/contacts/ajax/uploadphoto.php
+++ b/apps/contacts/ajax/uploadphoto.php
@@ -59,7 +59,7 @@ if ($fn) {
bailOut(OC_Contacts_App::$l10n->t('Couldn\'t save temporary image: ').$tmpkey);
}
} else {
- bailOut(OC_Contacts_App::$l10n->t('Couldn\'t load temporary image: ').$tmpkey.$data);
+ bailOut(OC_Contacts_App::$l10n->t('Couldn\'t load temporary image: ').$tmpkey);
}
}