Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sendgrid/sendgrid-php
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious committed Sep 18, 2018
2 parents e37f040 + a089a7b commit c249a46
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/mail/Attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,6 @@ private function isBase64($string)
$encoded_data = base64_encode($decoded_data);
if ($encoded_data != $string) {
return false;
} else {
$decoded_data = str_ireplace("\t", "", $decoded_data);
$decoded_data = str_ireplace("\n", "", $decoded_data);
$decoded_data = str_ireplace("\r", "", $decoded_data);
if (!ctype_print($decoded_data)) {
return false;
}
}
return true;
}
Expand Down

0 comments on commit c249a46

Please sign in to comment.