From: Dylan William Hardison Date: Wed, 19 Oct 2016 13:03:24 +0000 (-0400) Subject: Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment" X-Git-Tag: release-5.1.2~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69f1ef63c92000717c1d3c4b267d6d8517eb6420;p=thirdparty%2Fbugzilla.git Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment" This reverts commit f1b9ed5d96a4738471559c9a275eabc4333d74f4. --- diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 5a7a50e590..ec318b021f 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -891,7 +891,6 @@ sub create { (id, thedata) VALUES ($attachid, ?)"); trick_taint($data); - utf8::encode($data); $sth->bind_param(1, $data, $dbh->BLOB_TYPE); $sth->execute();