]> source.dussan.org Git - nextcloud-server.git/commitdiff
Contacts: Closed stupid XSS hole. Thanks AnybodyElse ;-)
authorThomas Tanghus <thomas@tanghus.net>
Fri, 8 Jun 2012 18:38:06 +0000 (20:38 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Fri, 8 Jun 2012 18:39:54 +0000 (20:39 +0200)
apps/contacts/ajax/uploadphoto.php

index 09c4e55d4a91a3373598b14176a6c61e04527bb4..32abc6c28599003f6efde575c11480cf06e3f3ce 100644 (file)
@@ -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);
        }
 }