HI,

thanks for your bug report and your patch.
I do similar fix. You could find it here : https://forge.indepnet.net/projects/glpi/repository/revisions/15418
Could you test and say me if it's working ?

Regards

Julien


Le 16/08/2011 22:58, Trey Dockendorf a écrit :
Recently I had a user send in a ticket via email that had no subject line. In the database, and in the email notifications the ticket's name showed as "<no subject>". However in GLPI, there was no text. This made it impossible to open the ticket and also once I did open the ticket (by pasting it's id number into URL) , I couldn't modify the title as there was no text to generate a link. I figure it's because it was handeling that text as HTML.

I wasn't sure if the preferred method is to strip the "<" and ">" when the email is received or when it's viewed in GLPI. Attached is a patch do the first solution, strip "<" and ">" only if they appear in that order (so like an HTML tag). I did this on v0.80.2.

I also attached an image to show what I mean by no link to click on. Ticket "8168" has the exact name field as "<no subject>" while ticket "8169" had the "<" and ">" stripped.

- Trey


_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to