Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment"

This reverts commit 89cb60fe.
parent ec6dada4
...@@ -853,7 +853,6 @@ sub create { ...@@ -853,7 +853,6 @@ sub create {
(id, thedata) VALUES ($attachid, ?)"); (id, thedata) VALUES ($attachid, ?)");
trick_taint($data); trick_taint($data);
utf8::encode($data);
$sth->bind_param(1, $data, $dbh->BLOB_TYPE); $sth->bind_param(1, $data, $dbh->BLOB_TYPE);
$sth->execute(); $sth->execute();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment