You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-02-09 14:33:51

PiLoT
Member
Registered: 2022-05-04
Posts: 4

Remove embedded img url - pictures from email import

Hey there,

if we receive a ticket via email - and this email contains an embedded image
via <img src="hXXp..."</img> - and we open up the ticket in glpi - the
browser trys to load the picture from this url and display the image.
So far - so normal.

But we are seeing a huge amount of spam emails with embedded pictures right now
which we do not want to get loaded an we do not need to see them.

is there any way to prevent glpi from importing this / removing these links - rewriting them to a "false" url
so that this pictures wont get loaded?

Thank you.

Offline

#2 2023-02-14 12:42:50

PiLoT
Member
Registered: 2022-05-04
Posts: 4

Re: Remove embedded img url - pictures from email import

Hi there - we could solve this.
Added this rule via Ticketcleaner:

Regex: /<img[^>]+src=[\'"]\Khttp/ui
Replacement: hXXp

Seems to work so far.

Offline

Board footer

Powered by FluxBB