Escape URLs in return bodies to account for question marks
Opened this issue · 0 comments
KevinPayravi commented
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)