mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-06-04 13:09:05 -04:00
handling JSVerify RNG state 88caf85079d32e416b
This commit is contained in:
parent
6fb3fe51b2
commit
e1ea14627f
2 changed files with 66 additions and 5 deletions
|
@ -277,7 +277,7 @@ describe('Helper', function () {
|
|||
var key = item.replace(/[\s;,=]/g, Array(i+2).join('£')),
|
||||
value = (values[i] || values[0]).replace(/[\s;,=]/g, '');
|
||||
cookieArray.push(key + '=' + value);
|
||||
if (Math.random() < 1 / i)
|
||||
if (Math.random() < 1 / i || selectedKey === key)
|
||||
{
|
||||
selectedKey = key;
|
||||
selectedValue = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue