GET /v2/projects
does not support certain symbols that GET /v2/project/{id|slug}
supports
#914
Labels
bug
For issues where things aren't working as intended
Describe the bug
If a slug contains certain symbols,
GET /v2/projects
does not return that project as if it doesn't exist despiteGET /v2/project/{id|slug}
supporting it without issue. HTML encoding can be used as a workaround.So far, I have encountered this issue for
+
.Steps to reproduce
I'll use Shulker+ as an example since that is where I first encountered the issue.
GET
request tohttps://api.modrinth.com/v2/projects?ids=["shulker+"]
[]
Expected behaviour
The response should go through like usual.
For reference, making a
GET
request tohttps://api.modrinth.com/v2/project/shulker+
yields a normal response.Additional context
HTML encoding can be used as a workaround:
https://api.modrinth.com/v2/projects?ids=["shulker%2B"]
, despite this not being necessary forGET /v2/project/{id|slug}
.The text was updated successfully, but these errors were encountered: