aboutsummaryrefslogtreecommitdiff
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
parentBug 1310728 - editflagtypes.cgi crashes when classifications are enabled and ... (diff)
downloadgentoo-bugzilla-070e12173d34e6aeee95e1831f43974810951f0e.zip
gentoo-bugzilla-070e12173d34e6aeee95e1831f43974810951f0e.tar.gz
gentoo-bugzilla-070e12173d34e6aeee95e1831f43974810951f0e.tar.bz2
Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment"
This reverts commit 89cb60fe38a7962c876bce18368db90cedda84eb.
-rw-r--r--Bugzilla/Attachment.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index 5e25681..3318379 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();