aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-10-19 09:09:43 -0400
committerDylan William Hardison <dylan@hardison.net>2016-10-19 09:10:10 -0400
commit070e12173d34e6aeee95e1831f43974810951f0e (patch)
tree1b402a7eb19d75295f983d4b6d8f5f8f76f83882
parentec6dada4bc0d26ca09ba26b169aff3be9575f99e (diff)
downloadbugs-070e12173d34e6aeee95e1831f43974810951f0e.tar
bugs-070e12173d34e6aeee95e1831f43974810951f0e.tar.gz
bugs-070e12173d34e6aeee95e1831f43974810951f0e.tar.bz2
bugs-070e12173d34e6aeee95e1831f43974810951f0e.tar.xz
bugs-070e12173d34e6aeee95e1831f43974810951f0e.zip
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 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();