commit | 7cded9acf63c8f521eea6d6392f3d6523171390a | [log] [tgz] |
---|---|---|
author | Magnus Bäck <baeck@google.com> | Mon Jun 25 10:31:09 2012 -0400 |
committer | Magnus Bäck <baeck@google.com> | Mon Jun 25 10:31:09 2012 -0400 |
tree | 387bab191b7aa037c1c9c3e62c99919d8b62928d | |
parent | 8ddb12edcb3256bdfed1fe1f31b87b8899618dc7 [diff] |
Tighten UUID regexp used to check if a group is internal The regular expression in AccountGroup.isInternalGroup() used to determine whether a group identified by a particular UUID is an internal Gerrit group was sloppy in that any UUID containing a 40 (or more) character hex digit sequence anywhere in the string was deemed an internal group. While very unlikely, the expression could falsely match UUIDs from other systems. Change-Id: Ie7cc56754bc11a6526fa1f35ea449e11b6c47a30