Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Uid] Fix validating nil and max uuid#48831
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
fancyweb commentedDec 30, 2022
| Q | A |
|---|---|
| Branch? | 5.4 |
| Bug fix? | yes |
| New feature? | no |
| Deprecations? | no |
| Tickets | #48800 |
| License | MIT |
| Doc PR | - |
7b4230c tobb57880Compare| returntrue; | ||
| } | ||
| if (__CLASS__ ===static::class &&'ffffffff-ffff-ffff-ffff-ffffffffffff' ===strtr($uuid,'F','f')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
if (self::MAX === strtr($uuid, 'F', 'f') && (\in_array(static::class, [__CLASS__, MaxUuid::class], true))) { on 6.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
fabpot commentedDec 30, 2022
Thank you@fancyweb. |