speedruncomorg / api

REST API Documentation for speedrun.com
346 stars 36 forks source link

Error response objects always contain `uri` links with improperly escaped slashes #143

Open exodustx0 opened 2 years ago

exodustx0 commented 2 years ago

https://www.speedrun.com/api/v1/doesnotexist:

{
  "status": 404,
  "message": "",
  "links": [
    {
      "rel": "support",
      "uri": "irc:\/\/speedrunslive.com#speedrun.com"
    },
    {
      "rel": "report-issues",
      "uri": "https:\/\/github.com\/speedruncom\/api\/issues"
    }
  ]
}

The links are the same for all responses that aren't HTTP 2xx or 3xx. Every other instance of the uri property across the API's response data structures does not have improperly escapes slashes.

PS: The report-issues link points to a different GitHub account than the one that hosts this repo.