1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-02 14:24:10 +01:00

Contacts: Closed stupid XSS hole. Thanks AnybodyElse ;-)

Conflicts:

	apps/contacts/ajax/uploadphoto.php
This commit is contained in:
Thomas Tanghus 2012-06-08 20:38:06 +02:00
parent 2b3e33bfbd
commit b1dfc19797

View File

@ -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);
}
}