summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-10-19 15:03:24 +0200
committerDylan William Hardison <dylan@hardison.net>2016-10-19 15:03:24 +0200
commit69f1ef63c92000717c1d3c4b267d6d8517eb6420 (patch)
tree4ca8caa1404a6188e64aa96b31ca02dec00aabf9
parent14ee84314a54c530f7a71420334c978c43cebeb3 (diff)
downloadbugzilla-69f1ef63c92000717c1d3c4b267d6d8517eb6420.tar.gz
bugzilla-69f1ef63c92000717c1d3c4b267d6d8517eb6420.tar.xz
Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment"
-rw-r--r--Bugzilla/Attachment.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index 5a7a50e59..ec318b021 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();