Add additional entropy to postLink()

This should help make more uniq id's for postLinks that are created
sequentially.

Fixes #3807
This commit is contained in:
mark_story 2013-05-01 09:46:57 -04:00
parent 41d124d4de
commit df8f5e8f84

View file

@ -1749,7 +1749,7 @@ class FormHelper extends AppHelper {
unset($options['confirm']);
}
$formName = uniqid('post_');
$formName = str_replace('.', '', uniqid('post_', true));
$formUrl = $this->url($url);
$formOptions = array(
'name' => $formName,