Skip to content

Escape URLs in return bodies to account for question marks #80

@KevinPayravi

Description

@KevinPayravi

For ACNH items with a ? in the name, our endpoints return a URL with an unescaped ?. This breaks the URL since ? is a reserved character for declaring URL parameters.

API should account for this and returned an escaped URL.

Example of current /nh/furniture response for ? Block:

{
  "url": "https://nookipedia.com/wiki/Item:?_Block_(New_Horizons)",
  "name": "? Block",
  "category": "Housewares",
  ...
}

url value should be https://nookipedia.com/wiki/Item:%3F_Block_(New_Horizons)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions