Skip to content

Bug: Check blocked words against alphabet case-insensitively #4

Closed
@4kimov

Description

@4kimov

Short version: New bug was found in the spec repo. It was filtering blocklist against the alphabet incorrectly in the constructor, and the issue showed up when using lowercase blocklist in uppercase-only alphabet.

More detailed version: See pull request #7 discussion.


New test was added to the spec: sqids/sqids-spec@02d6116
Code to fix the issue: sqids/sqids-spec@c9c8b28

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions