mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-27 14:14:11 +01:00
Reported by NonSecureUniqidUsageInspection : when calling \uniqid we should provide true as second parameter.
But was causing issues as the generated string could contain a dot, and this is used in CSS and JQuery selectors (for example a "my.id" cannot be used in #my.id selector)
So we're just replacing dots with hyphens !
Was discussed with @Molkobain in 0119f6c395
7.0 KiB
7.0 KiB