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

Fix IDOR tokens generation #3474

Closed cedric-anne closed 8 months ago

cedric-anne commented 8 months ago

Changes description

In GLPI 10.0.13, to be validated, a IDOR token must contains the condition parameter used by the dropdown, unless this parameter is empty. Without this change, the corresponding dropdown values could not be loaded.

Checklist

Please check if your PR fulfills the following specifications:

References

Closes #N/A

btry commented 8 months ago

I expect that he dropdownfield class will also need a similar change. There is also a call to Session::getNewIDORToken

cedric-anne commented 8 months ago

I expect that he dropdownfield class will also need a similar change. There is also a call to Session::getNewIDORToken

Indeed. I fixed it.