Skip to content

Commit

Permalink
[fix] Dont allow - in uuids generated by forever. Fixes #66.
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Jun 15, 2011
1 parent e0c3dcf commit d681cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ forever.cleanLogsSync = function (processes) {
// length ⌈bits/6⌉ of characters from the base64 alphabet.
//
forever.randomString = function (bits) {
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-+',
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_$',
rand, i, ret = '';

//
Expand Down

0 comments on commit d681cb7

Please sign in to comment.