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

Conflicts:

	apps/contacts/ajax/uploadphoto.php
remotes/origin/stable4
Thomas Tanghus 13 years ago
parent eb192ff4f3
commit 5eb5d23ac1
  1. 1
      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);
}
}

Loading…
Cancel
Save