-
Tymoteusz Motylewski authored
uniqid() generates values based on current time, subsequent calls may return the same value on a fast machine. On Windows it's even worse, as uniqid() has single-second-resolution out of the box. Right now it is used in many places in the core, also for creating temporary identifiers for newly created records (in the datahandler). The solution is to add a second parameter to all calls (which adds more entropy). see http://php.net/manual/en/function.uniqid.php To make code consistent, this change adds the second parameter to all occurences of uniqid. Resolves: #59701 Resolves: #58602 Resolves: #59055 Releases: master, 6.2 Change-Id: Id791556d45b4289d75411ff19ae050144fbfe51b Reviewed-on: http://review.typo3.org/30948 Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Stefan Froemken <froemken@gmail.com> Tested-by: Stefan Froemken <froemken@gmail.com> Reviewed-by: Markus Klein <klein.t3@reelworx.at> Tested-by: Markus Klein <klein.t3@reelworx.at>
fa817a7e