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:
parent
2b3e33bfbd
commit
b1dfc19797
@ -65,6 +65,7 @@ if ($fn) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
bailOut('Couldn\'t load temporary image: '.$file['tmp_name']);
|
bailOut('Couldn\'t load temporary image: '.$file['tmp_name']);
|
||||||
|
bailOut(OC_Contacts_App::$l10n->t('Couldn\'t load temporary image: ').$tmpkey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user