Skip to content

Commit

Permalink
[BUGFIX] Fixed error when locally loading and embedding images with a…
Browse files Browse the repository at this point in the history
… whitespace in the uri
  • Loading branch information
bweinzierl committed Mar 31, 2022
1 parent 7eda38f commit 7b9806c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/AbstractMailerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function attachHtmlInlineImage($match) {
}
}

return $imgTagStart.$this->processedMessage->embed(\Swift_Image::fromPath($path)).'"'.$imgTagEnd;
return $imgTagStart.$this->processedMessage->embed(\Swift_Image::fromPath(urldecode($path))).'"'.$imgTagEnd;
}

/**
Expand Down

0 comments on commit 7b9806c

Please sign in to comment.