]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment"
authorDylan William Hardison <dylan@hardison.net>
Wed, 19 Oct 2016 13:03:24 +0000 (09:03 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 19 Oct 2016 13:03:24 +0000 (09:03 -0400)
This reverts commit f1b9ed5d96a4738471559c9a275eabc4333d74f4.

Bugzilla/Attachment.pm

index 5a7a50e590ae0a61d2fe8f7d9f85857c85fff108..ec318b021fda723c83e5fa83a76228b6025cb165 100644 (file)
@@ -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();