Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CreateUUID.createUUID() produces output with '=' sign #64

Open
darronschall opened this issue Jul 28, 2010 · 3 comments
Open

CreateUUID.createUUID() produces output with '=' sign #64

darronschall opened this issue Jul 28, 2010 · 3 comments

Comments

@darronschall
Copy link
Contributor

Originally filed by stefan.richter on 2008-08-27T08:43:10

What steps will reproduce the problem?

  1. run this code:
    var uid:String = CreateUUID.createUUID();
    trace(uid);
  2. notice that in about 1 in 10 cases the generated uid string contains an
    equal sign = as the last character

What is the expected output? What do you see instead?
A pseudo random string without any equal signs.

What version of the product are you using? On what operating system?
OSX, Flexbuilder 3.

Please provide any additional information below.
It almost appears that the line
return nonce.toLowerCase().replace("=", "");
in the CreateUUID is buggy since the last = sign is not replaced.

@darronschall
Copy link
Contributor Author

Updated by mikechambers on 2008-11-06T21:03:30

Original ticket set owner to mikechambers
Original ticket set status to Accepted (we converted to open)

@darronschall
Copy link
Contributor Author

Updated by mikechambers on 2008-11-06T21:45:25

Which class is this in?

@darronschall
Copy link
Contributor Author

Updated by mikechambers on 2008-11-07T04:22:26

Original ticket set status to NeedMoreInfo (we converted to open)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant