From 69f1ef63c92000717c1d3c4b267d6d8517eb6420 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 19 Oct 2016 09:03:24 -0400 Subject: [PATCH] Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment" This reverts commit f1b9ed5d96a4738471559c9a275eabc4333d74f4. --- Bugzilla/Attachment.pm | 1 - 1 file changed, 1 deletion(-) 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(); -- 2.47.3