From: Dylan William Hardison Date: Wed, 19 Oct 2016 13:09:43 +0000 (-0400) Subject: Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment" X-Git-Tag: release-5.0.4~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F46%2Fhead;p=thirdparty%2Fbugzilla.git Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment" This reverts commit 89cb60fe38a7962c876bce18368db90cedda84eb. --- diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 5e25681c38..33183797ba 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -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();