diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-08 22:38:06 +0400 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-08 22:43:42 +0400 |
commit | 5eb5d23ac1e3de0b1d0fbc96087b3a616c943cc7 (patch) | |
tree | 739a92382e5b3935bc77a2e9c5cae6a77f1e4596 /apps | |
parent | eb192ff4f3b201c9560543ae5f845a6391ffc834 (diff) |
Contacts: Closed stupid XSS hole. Thanks AnybodyElse ;-)
Conflicts:
apps/contacts/ajax/uploadphoto.php
Diffstat (limited to 'apps')
-rw-r--r-- | apps/contacts/ajax/uploadphoto.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/ajax/uploadphoto.php b/apps/contacts/ajax/uploadphoto.php index dca8ede6d60..49c03dc44ce 100644 --- a/apps/contacts/ajax/uploadphoto.php +++ b/apps/contacts/ajax/uploadphoto.php @@ -65,6 +65,7 @@ if ($fn) { } } else { bailOut('Couldn\'t load temporary image: '.$file['tmp_name']); + bailOut(OC_Contacts_App::$l10n->t('Couldn\'t load temporary image: ').$tmpkey); } } |