]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment" 46/head
authorDylan William Hardison <dylan@hardison.net>
Wed, 19 Oct 2016 13:09:43 +0000 (09:09 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 19 Oct 2016 13:10:10 +0000 (09:10 -0400)
This reverts commit 89cb60fe38a7962c876bce18368db90cedda84eb.

Bugzilla/Attachment.pm

index 5e25681c384555789dc9597bad28ef81c50bb0bf..33183797ba276f7dd260a4382ee1a1e2b60cd40d 100644 (file)
@@ -853,7 +853,6 @@ sub create {
                              (id, thedata) VALUES ($attachid, ?)");
 
     trick_taint($data);
-    utf8::encode($data);
     $sth->bind_param(1, $data, $dbh->BLOB_TYPE);
     $sth->execute();