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-09-22 12:51:09

eduardogc
Member
Registered: 2023-09-22
Posts: 2

The ticket includes css from the email client and breaks the glpi stru

Hello everyone. It turns out that we have received a ticket and the email contains a CSS code:

<style scoped="scoped">
@font-face { font-family: "Cambria Math"; }
@font-face { font-family: Calibri; }
p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; }
a:link, span.MsoHyperlink { color: blue; text-decoration: underline; }
span.EstiloCorreo20 { font-family: Calibri, sans-serif; color: windowtext; }
.MsoChpDefault { font-size: 10pt; }
@page WordSection1 { size: 612pt 792pt; margin: 70.85pt 3cm; }
div.WordSection1 { page: WordSection1; }
</style>

We believe that the CSS code is sent by the email client used by the person opening the ticket.

This code is interpreted by the page and therefore changes the styles of the program wherever the ticket appears.

Is there an option to disable external css rendering?

Thanks! smile

Offline

#2 2023-09-22 13:13:41

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: The ticket includes css from the email client and breaks the glpi stru

Which GLPI version are you using?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-09-22 17:35:55

eduardogc
Member
Registered: 2023-09-22
Posts: 2

Re: The ticket includes css from the email client and breaks the glpi stru

cconard96 wrote:

Which GLPI version are you using?

Hello cconard96.

I use the version 10.0.0

Offline

#4 2023-09-25 12:34:50

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: The ticket includes css from the email client and breaks the glpi stru

The initial release of v10? There have been almost 2000 patches since 10.0.0 was released. I seem to remember multiple fixes regarding the content of tickets made from collected emails. I suggest updating to the latest bug-fix version to see if the issue was already fixed and, at the very least, to apply the fixes for known security issues.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB