From 070e12173d34e6aeee95e1831f43974810951f0e Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 19 Oct 2016 09:09:43 -0400 Subject: Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment" This reverts commit 89cb60fe38a7962c876bce18368db90cedda84eb. --- Bugzilla/Attachment.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 5e25681c3..33183797b 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(); -- cgit v1.2.1