yorickdewid / Quantica

A fast and scalable object database
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Invalid QUID-keys #15

Closed yorickdewid closed 9 years ago

yorickdewid commented 9 years ago

All generated QUID keys are invalid following the QUID standard. The QUID's do not match the PCRE pattern below and so are all invalid.

[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}

QUID's are short one byte and are missing one hyphen divider. This bug is critical and needs priority above all other outstanding issues. To prevent this from ever happening again we need unit tests asserting a strict (and only one valid) QUID format.