Skip to content

Case sensitivity #82

@nvsajeeva

Description

@nvsajeeva

It looks like contribcard currently considers the case of a GitHub handle. This causes problems when integrated with CertDirectory user profiles.

For example:

✅ Works: User 1 profile

❌ Broken: User 2 profile

Other integrations (like DevStats score and GitHub heatmap) work fine for the second user, since GitHub itself ignores case.

Proposed fix
Update contribcard to handle GitHub usernames in a case-insensitive manner.
i.e
Both of the following calls should return the card
https://contribcard.cncf.io/galphaa
https://contribcard.cncf.io/Galphaa

Metadata

Metadata

Assignees

No one assigned

    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