pluginsGLPI / formcreator

GLPI Plugin Formcreator (DOWNLOAD : https://github.com/pluginsGLPI/formcreator/releases)
http://www.teclib-edition.com
GNU General Public License v3.0
174 stars 125 forks source link

Target ticket title need html encoding #3292

Closed btry closed 1 year ago

btry commented 1 year ago

GLPI 10.0.7 HTML encodes data in ticket's title

Changes description

When GLPI creates a ticket with an ampersand in the title, the apmersand is HTML encoded.

If we create a form with : a dropdown (ITIL category) and a text

dropdown contains "foo > bar" text contains "command & conqueer"

the target ticket uses both answers to build ticket's title

dropdown content is HTML encoded, but text does not.

When rendering the ticket, the title is not properly displayed

image

Checklist

Please check if your PR fulfills the following specifications:

References

Closes #N/A