Uuid::parse_str reports incorrect final group lengths for invalid wrapped UUIDs #881
Labels
No labels
breaking
bug
dependencies
good first issue
help wanted
unstable
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-uuid-rs/uuid#881
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Uuid::parse_strseems to report incorrect final group lengths for invalid wrapped UUIDs.Reproduction
Current output:
Expected behavior
The reported final group length should be the actual length of the final UUID group.
Expected output:
Suspected cause
The final group length seems to be incorrectly calculated.
For URN inputs, the reported value seems to include the 9-character
urn:uuid:prefix.For braced inputs, the reported value seems to include both braces.