- Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Some XMPP clients embed images in XHTML like this:
<message type="groupchat" to="[REDACTED]@codingteam.org.ru/[REDACTED]" from="[email protected]/O01eg" id="a1092a" xml:lang="ru" xmlns="jabber:client"> <body>Получено 35448 байт изображения.</body> <html xmlns="http://jabber.org/protocol/xhtml-im"> <body xmlns="http://www.w3.org/1999/xhtml"> <br /> <img alt="img" src="data:image/jpeg;base64,[BASE64 DATA EXPUNGED]" /> </body> </html> </message> We should either find a way to redirect XHTML as-is or at least to extract the image data from it.