Skip to content

Commit

Permalink
Revert "Bug 1306534 - Crash when pasting UTF8 text as an attachment"
Browse files Browse the repository at this point in the history
This reverts commit 89cb60f.
  • Loading branch information
dylanwh committed Oct 19, 2016
1 parent ec6dada commit 070e121
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Bugzilla/Attachment.pm
Expand Up @@ -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();

Expand Down

0 comments on commit 070e121

Please sign in to comment.