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 f1b9ed5.
  • Loading branch information
dylanwh committed Oct 19, 2016
1 parent 14ee843 commit 69f1ef6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Bugzilla/Attachment.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 69f1ef6

Please sign in to comment.