Skip to content

fix(base32): accept lower case ULID strings when decoding - #67

Open
reyhaan07 wants to merge 1 commit into
mdomke:mainfrom
reyhaan07:fix/case-insensitive-from-str
Open

reyhaan07 wants to merge 1 commit into
mdomke:mainfrom
reyhaan07:fix/case-insensitive-from-str

Conversation

@reyhaan07

Copy link
Copy Markdown

The ULID spec and the README describe the string representation as case insensitive, and the DECODE table maps lower case letters, but the alphabet check added in 2.6.0 only allowed upper case characters. Check against both cases so ULID.from_str accepts lower case input again.

The ULID spec and the README describe the string representation as
case insensitive, and the DECODE table maps lower case letters, but the
alphabet check added in 2.6.0 only allowed upper case characters. Check
against both cases so ULID.from_str accepts lower case input again.
@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant