forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of unquoted images src in mail collector
fixes glpi-project#15578
- Loading branch information
1 parent
e4f7006
commit c308ce6
Showing
4 changed files
with
106 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Date: Thu, 1 Dec 2022 11:23:48 +0200 (CEST) | ||
From: Normal User <normal@glpi-project.org> | ||
To: GLPI debug <unittests@glpi-project.org> | ||
Subject: 41 - Image src without quotes | ||
MIME-Version: 1.0 | ||
Content-Type: multipart/alternative; | ||
boundary="----=_Part_1757883_1359581901.1528365951028" | ||
|
||
------=_Part_1757883_1359581901.1528365951028 | ||
Content-Type: text/plain; charset=utf-8 | ||
Content-Transfer-Encoding: 7bit | ||
Image: | ||
------=_Part_1757883_1359581901.1528365951028 | ||
Content-Type: multipart/related; | ||
boundary="----=_Part_1757884_1267006027.1528365951028" | ||
------=_Part_1757884_1267006027.1528365951028 | ||
Content-Type: text/html; charset=utf-8 | ||
Content-Transfer-Encoding: 7bit | ||
|
||
<html> | ||
<body> | ||
Image: <img src=cid:image001.png@01D90577.61DCAEC0> | ||
</body> | ||
</html> | ||
------=_Part_1757884_1267006027.1528365951028 | ||
Content-Type: image/png; name=41-blue-dot.png | ||
Content-Disposition: attachment; filename=41-blue-dot.png | ||
Content-Transfer-Encoding: base64 | ||
Content-ID: <image001.png@01D90577.61DCAEC0> | ||
iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAL | ||
EwAACxMBAJqcGAAAAANQTFRFAAD/injSVwAAAApJREFUeJxjYAAAAAIAAUivpHEAAAAASUVORK5C | ||
YII= | ||
------=_Part_1757884_1267006027.1528365951028-- | ||
|
||
------=_Part_1757883_1359581901.1528365951028-- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters