Skip to content

Shield.io badges result in 404 if foundation name contains a dash. #603

@Relequestual

Description

@Relequestual

Shields.io defines encoding required for the URL of badges with custom text.

https://shields.io/badges

Foundation names with an underscore or dash must be encoded in the URL.
Underscore must be encoded to double underscore.
Dash must be encoded to double dash.

It looks like the change would need to be made above this line in the code.

Here's an example of it not working as expected: https://landscape.json-schema.org/?item=adopters--json-schema-adopters--github

Thanks =]

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