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

remotes/origin/stable45
Thomas Tanghus 14 years ago
parent 8fcdccdcdc
commit 0a49bae87a
  1. 2
      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);
}
}

Loading…
Cancel
Save