Updated to match Mark's original intent, which was to select values
from 100000000 to 999999999 and 1000000000 to 1999999999. Apparently no one used getInt(int, int) correctly.
This commit is contained in:
@@ -1408,7 +1408,7 @@ public class Application
|
||||
_trackingStart = time;
|
||||
}
|
||||
if (_trackingId == 0) {
|
||||
_trackingId = RandomUtil.getInRange(100000001, 1000000000);
|
||||
_trackingId = RandomUtil.getInRange(100000000, 1000000000);
|
||||
}
|
||||
StringBuilder cookie = new StringBuilder("&utmcc=__utma%3D").append(_trackingGAHash);
|
||||
cookie.append(".").append(_trackingId);
|
||||
@@ -1417,7 +1417,7 @@ public class Application
|
||||
cookie.append("__utmz%3D").append(_trackingGAHash).append(".");
|
||||
cookie.append(_trackingStart).append(".1.1.");
|
||||
cookie.append("utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B");
|
||||
cookie.append("&utmn=").append(RandomUtil.getInRange(1000000001, 2000000000));
|
||||
cookie.append("&utmn=").append(RandomUtil.getInRange(1000000000, 2000000000));
|
||||
return cookie.toString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user