Skip to content

GitHub search badge (git-hub-code-search-count) failing for some queries which work on the site #11280

@YoshiRulz

Description

@YoshiRulz

(From #10733 (comment):)

Are you experiencing an issue with...

shields.io

🐞 Description

I can't get it to work when the search query contains asterisks or parentheses, for example https://github.com/search?q=repo%3ATASEmulators%2FBizHawk+path%3Agamedb%2F**+Rayman&type=code (at time of writing, 4 files) or
https://github.com/search?q=repo%3ATASEmulators%2FBizHawk+%28%22severity+%3D+suggestion%22+OR+%22pragma+warning+disable%22%29&type=code (152 files), not even with manual adjustments to the URI.

🔗 Link to the badge

https://img.shields.io/github/search?query=repo%3ATASEmulators%2FBizHawk%20path%3Agamedb%2F**%20Rayman
GitHub code search count

https://img.shields.io/github/search?query=repo%3ATASEmulators%2FBizHawk%20%28%22severity%20%3D%20suggestion%22%20OR%20%22pragma%20warning%20disable%22%29
GitHub code search count

💡 Possible Solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionSupport questions, usage questions, unconfirmed bugs, discussions, ideas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions